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

Use source instead of release option for library compilation

XMLWordPrintable

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

      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.

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

              Created:
              Updated:
              Resolved: