Cannot compile certain sources with --release

XMLWordPrintable

    • Type: CSR
    • Resolution: Approved
    • Priority: P3
    • 18
    • Component/s: tools
    • None
    • behavioral
    • minimal
    • Align --release behavior with behavior from actual releases.
    • add/remove/modify command line option
    • Implementation

      Summary

      Update symbol information to match compilation behavior when extending classes from non-exported packages.

      Problem

      Some API classes extend classes from non-exported packages (often from the java.base module). Examples include jdk.jfr.Event which extends jdk.internal.event.Event. As the current ct.sym data do not keep classes from non-exported packages, compilation against these classes fails.

      Solution

      Re-run updated tooling to add the affected types.

      Specification

      No specification changes; various symbol files updates for JDK 11 and up.

            Assignee:
            Jan Lahoda
            Reporter:
            Jan Lahoda
            Joe Darcy
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: