jtreg should use -source instead of --release for @enablePreview

XMLWordPrintable

    • Type: Bug
    • Resolution: Fixed
    • Priority: P2
    • jtreg5.2
    • Affects Version/s: jtreg5.1
    • Component/s: tools
    • b01
    • generic
    • generic

      When using @modules (specifically tool modules, ex jdk.compiler) you will get the following error messages when using @enablePreview.

      error: exporting a package from system module jdk.compiler is not allowed with --release

            Assignee:
            Jonathan Gibbons
            Reporter:
            Jim Laskey
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: