JDK-8245544 : com/sun/tools/javac/platform/JDKPlatformProvider.java does not support ct.sym with platform versions 16+
  • Type: Bug
  • Component: tools
  • Sub-Component: javac
  • Affected Version: 15,16
  • Priority: P3
  • Status: Resolved
  • Resolution: Fixed
  • Submitted: 2020-05-21
  • Updated: 2020-07-02
  • Resolved: 2020-06-11
The Version table provides details related to the release that this issue/RFE will be addressed.

Unresolved : Release in which this issue/RFE will be addressed.
Resolved: Release in which this issue/RFE has been resolved.
Fixed : Release in which this issue/RFE has been fixed. The release containing this fix may be available for download as an Early Access Release or a General Availability Release.

To download the current JDK release, click here.
JDK 16
16 b01Fixed
Related Reports
Relates :  
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.
Comments
Changeset: a5b57127 Author: Joe Darcy <darcy@openjdk.org> Date: 2020-06-07 20:02:03 +0000 URL: https://git.openjdk.java.net/lanai/commit/a5b57127
02-07-2020

URL: https://hg.openjdk.java.net/jdk/jdk/rev/74571a9cede2 User: jwilhelm Date: 2020-06-11 20:43:49 +0000
11-06-2020

This issue was discovered as part of the work on JDK-8235496.
21-05-2020