United StatesChange Country, Oracle Worldwide Web Sites Communities I am a... I want to...
Bug ID: JDK-4707960 javac accepts unicode digits - sometimes crashing
JDK-4707960 : javac accepts unicode digits - sometimes crashing

Details
Type:
Bug
Submit Date:
2002-06-25
Status:
Closed
Updated Date:
2003-09-05
Project Name:
JDK
Resolved Date:
2002-09-02
Component:
tools
OS:
solaris_8
Sub-Component:
javac
CPU:
generic
Priority:
P3
Resolution:
Fixed
Affected Versions:
1.4.0
Fixed Versions:
1.4.2 (mantis)

Related Reports

Sub Tasks

Description
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.

                                    

Comments
PUBLIC COMMENTS

javac will now warn when non-ASCII digits are used where ASCII digits 
are required.

###@###.### 2002-06-25
                                     
2002-06-25
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.
                                     
2004-06-11
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


                                     
2004-06-14



Hardware and Software, Engineered to Work Together