Download
Getting Started
Members
Projects
Community
Marketplace
Events
Planet Eclipse
Newsletter
Videos
Participate
Report a Bug
Forums
Mailing Lists
Wiki
IRC
How to Contribute
Working Groups
Automotive
Internet of Things
LocationTech
Long-Term Support
PolarSys
Science
OpenMDM
More
Community
Marketplace
Events
Planet Eclipse
Newsletter
Videos
Participate
Report a Bug
Forums
Mailing Lists
Wiki
IRC
How to Contribute
Working Groups
Automotive
Internet of Things
LocationTech
Long-Term Support
PolarSys
Science
OpenMDM
Toggle navigation
Bugzilla – Attachment 202771 Details for
Bug 356746
ECJ accepts illegal unicode escape sequences
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
Log In
[x]
|
Terms of Use
|
Copyright Agent
Input file
Test.java (text/x-java), 1.09 KB, created by
Andreas Kohn
on 2011-09-05 13:57:45 EDT
(
hide
)
Description:
Input file
Filename:
MIME Type:
Creator:
Andreas Kohn
Created:
2011-09-05 13:57:45 EDT
Size:
1.09 KB
patch
obsolete
> >public class Test { > /* > * JLS 3rd edition, 3.3 Unicode Escapes: > * > * Implementations first recognize Unicode escapes in their input, translating the ASCII characters \\u followed > * by four hexadecimal digits to the UTF-16 code unit (§3.1) with the indicated hexadecimal value, and passing all > * other characters unchanged. Representing supplementary characters requires two consecutive Unicode escapes. > * This translation step results in a sequence of Unicode input characters: > * > * UnicodeInputCharacter: > * UnicodeEscape > * RawInputCharacter > * > * UnicodeEscape: > * \ UnicodeMarker HexDigit HexDigit HexDigit HexDigit > * > * UnicodeMarker: > * u > * UnicodeMarker u > * > * RawInputCharacter: > * any Unicode character > * > * HexDigit: one of > * 0 1 2 3 4 5 6 7 8 9 a b c d e f A B C D E F > * > * The \, u, and hexadecimal digits here are all ASCII characters. > */ > > /* The next sequence does not contain a valid unicode escape, '⠫' is not HexDigit. */ > public static final String ERROR = "\u000⠫"; >}
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Raw
Actions:
View
Attachments on
bug 356746
: 202771 |
202780
|
202994