JDK-4707960 : javac accepts unicode digits - sometimes crashing
  • Type: Bug
  • Component: tools
  • Sub-Component: javac
  • Affected Version: 1.4.0
  • Priority: P3
  • Status: Closed
  • Resolution: Fixed
  • OS: solaris_8
  • CPU: generic
  • Submitted: 2002-06-25
  • Updated: 2003-09-05
  • Resolved: 2002-09-02
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.
1.4.2 mantisFixed
javac accepts unicode digits in many contexts in which the spec
requires that it only accept ASCII digits.

(1) in integral constants, after the first digit
(2) in floating point literals, after the first digit
(3) in unicode character constants

(1) and (3) are fairly harmless, but (2) causes the compiler to crash.

CONVERTED DATA BugTraq+ Release Management Values COMMIT TO FIX: mantis mantis-b02 FIXED IN: mantis mantis-b02 INTEGRATED IN: mantis mantis-b02 VERIFIED IN: mantis

EVALUATION Because of the incompatibility, this bug cannot be fully fixed until a "dot" release such as 1.5. But the crash should be addressed earlier.

PUBLIC COMMENTS javac will now warn when non-ASCII digits are used where ASCII digits are required. ###@###.### 2002-06-25