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

com/sun/tools/javac/platform/JDKPlatformProvider.java does not support ct.sym with platform versions 16+

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: P3
    • Resolution: Fixed
    • Affects Version/s: 15, 16
    • Fix Version/s: 16
    • Component/s: tools
    • Labels:
    • Subcomponent:
    • Resolved In Build:
      b01

      Description

      Inside the binary ct.sym, platform versions are encoded as single characters. JDKPlatformProvider parses these characters as hexadecimal numbers, which fails for versions >= 16. It should handle these version numbers using Character.MAX_RADIX.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                jlahoda Jan Lahoda
                Reporter:
                jlahoda Jan Lahoda
              • Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: