[lworld] JDK-8331217 breaks the build

XMLWordPrintable

    • Type: Bug
    • Resolution: Fixed
    • Priority: P4
    • None
    • Affects Version/s: repo-valhalla
    • Component/s: core-libs

      JDK-8331217:

      * For target jdk_modules_jdk.unsupported__the.jdk.unsupported_batch:
      /scratch/dsimms/hotspot/git/valhalla/open/src/jdk.unsupported/share/classes/sun/misc/Unsafe.java:656: error: isValue() is a preview API and is disabled by default.
              if (declaringClass.isValue()) {
                                ^
        (use --enable-preview to enable preview APIs)
      /scratch/dsimms/hotspot/git/valhalla/open/src/jdk.unsupported/share/classes/sun/misc/Unsafe.java:698: error: isValue() is a preview API and is disabled by default.
              if (declaringClass.isValue()) {
                                ^
        (use --enable-preview to enable preview APIs)
      /scratch/dsimms/hotspot/git/valhalla/open/src/jdk.unsupported/share/classes/sun/misc/Unsafe.java:732: error: isValue() is a preview API and is disabled by default.
              if (declaringClass.isValue()) {
                                ^
        (use --enable-preview to enable preview APIs)
      3 errors

            Assignee:
            David Simms
            Reporter:
            David Simms
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: