Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8255914

[AOT] Using AOT flag should give warning when AOT is not included in build

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: P4
    • Resolution: Fixed
    • Affects Version/s: 16
    • Fix Version/s: 16
    • Component/s: hotspot
    • Subcomponent:
    • Resolved In Build:
      b24

      Description

      Currently if AOT is not included in a build AOT flags specified on command line are silently ignored:

      $ java -XX:+UnlockExperimentalVMOptions -XX:+UseAOT -version
      java version "16-internal" 2021-03-16
      Java(TM) SE Runtime Environment (fastdebug build 16-internal+0-2020-11-04-2338514)
      Java HotSpot(TM) 64-Bit Server VM (fastdebug build 16-internal+0-2020-11-04-2338514, mixed mode, sharing)

      We should give warning that AOT is not supported in such builds.

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              kvn Vladimir Kozlov
              Reporter:
              kvn Vladimir Kozlov
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: