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

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

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: P5 P5
    • None
    • None
    • 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)

            Unassigned Unassigned
            lcable Larry Cable
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated: