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

Unlock preview features from underlying JDKs by default

    XMLWordPrintable

Details

    • Enhancement
    • Resolution: Won't Do
    • Major
    • None
    • None
    • Scripts, Server, Test Suite
    • None

    Description

      Current jGroups version used in WildFly is using JDK preview feature (virtual threads).
      We need to enable JDK preview features in order for jGroups library to work properly.
      In order to achieve so we need to pass --enable-preview command line option to JVM process.
      Note it is not possible to configure this option in Jar's manifest so for bootable jar
      that parameter needs to be passed explicitly to the java -jar --enable-preview bootable.jar command.

      For more information about enabling JDK preview features, see:
      https://openjdk.org/jeps/12
      https://dev.java/learn/using-the-preview-features-available-in-the-jdk/
      https://docs.oracle.com/en/java/javase/17/language/preview-language-and-vm-features.html

      Attachments

        Issue Links

          Activity

            People

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

              Dates

                Created:
                Updated:
                Resolved: