Uploaded image for project: 'WildFly'
  1. WildFly
  2. WFLY-17069

Unlock preview features from underlying JDKs by default

XMLWordPrintable

    • Icon: Enhancement Enhancement
    • Resolution: Won't Do
    • Icon: Major Major
    • None
    • None
    • Test Suite

      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

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

                Created:
                Updated:
                Resolved: