This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.

Bug 109648 - Unicode escape sequences in Java string literals are highlighted as error
Summary: Unicode escape sequences in Java string literals are highlighted as error
Status: VERIFIED FIXED
Alias: None
Product: java
Classification: Unclassified
Component: Editor (show other bugs)
Version: 6.x
Hardware: PC Windows XP
: P3 blocker with 1 vote (vote)
Assignee: Miloslav Metelka
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-07-13 14:53 UTC by matthies
Modified: 2007-12-14 23:55 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description matthies 2007-07-13 14:53:57 UTC
The »\u« in Unicode escape sequences in Java string literals, such as in "ab\ucdefgh", is syntax-highlighted as an 
invalid escape sequence in the source code.

Found in build 200707111200.
Comment 1 Vitezslav Stejskal 2007-10-17 16:51:35 UTC
Checking in src/org/netbeans/api/java/lexer/JavaStringTokenId.java;
/cvs/java/lexer/src/org/netbeans/api/java/lexer/JavaStringTokenId.java,v  <--  JavaStringTokenId.java
new revision: 1.8; previous revision: 1.7
done
Checking in src/org/netbeans/lib/java/lexer/JavaStringLexer.java;
/cvs/java/lexer/src/org/netbeans/lib/java/lexer/JavaStringLexer.java,v  <--  JavaStringLexer.java
new revision: 1.7; previous revision: 1.6
done
Checking in test/unit/src/org/netbeans/lib/java/lexer/JavaStringLexerTest.java;
/cvs/java/lexer/test/unit/src/org/netbeans/lib/java/lexer/JavaStringLexerTest.java,v  <--  JavaStringLexerTest.java
new revision: 1.7; previous revision: 1.6
done
Comment 2 matthies 2007-12-14 23:55:51 UTC
Verified in build 200711261600.