Uploaded image for project: 'Code Tools'
  1. Code Tools
  2. CODETOOLS-7903790

Use source instead of release option for library compilation

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • P3
    • None
    • None
    • tools
    • None

    Description

      Since https://bugs.openjdk.org/browse/CODETOOLS-7903775 added support for LIBRARY.properties, `--release=N` was included by default. That could lead to errors when system modules were part of the test scenario. Error messages emitted read like: `error: exporting a package from system module java.base is not allowed with --release`

      Using `--source=N` will prevent that error to be reported.

      Attachments

        Issue Links

          Activity

            People

              cstein Christian Stein
              cstein Christian Stein
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: