unexpected interaction between --release and --patch-module flags

XMLWordPrintable

    • Type: Bug
    • Resolution: Not an Issue
    • Priority: P5
    • None
    • Affects Version/s: None
    • Component/s: tools
    • None

      discovered this using maven, when building a patch module for one of the JDK modules using --patch-module, when also specifying --release in addition (which maven is apt to do) the 'release' option 'overrides' the 'patch' option resulting in compilation errors in the patched classes that reference non-public artifacts in the module being patched.

      easily solved by removing --release (from maven)

            Assignee:
            Unassigned
            Reporter:
            Larry Cable
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: