Uploaded image for project: 'WildFly Core'
  1. WildFly Core
  2. WFCORE-7063

Remove useless code related to JDK version detection

XMLWordPrintable

      There are various checks in WildFly Core code base like:

      if (JdkUtils.getJavaSpecVersion() >= 11) // do something
      if (JvmElement.getJVMMajorVersion() < 9) // do something
      if (PlatformMBeanUtil.JVM_MAJOR_VERSION > 6) // do something
      if (PlatformMBeanUtil.JVM_MAJOR_VERSION < 7) // do something

      Since JDK 11 is minimum JDK requirement all these checks can be safely removed and coded adjusted.

              ropalka Richard Opalka
              ropalka Richard Opalka
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated:
                Resolved: