quid: add new bug ID, update comment page
authorjrose
Tue Sep 09 13:12:17 2008 -0700 (14 months ago)
changeset 2c1612cfa2222
parent 18ae38094aaa9
child 38e333e7c4b62
quid: add new bug ID, update comment page
quid.txt
--- a/quid.txt Tue Sep 09 12:35:44 2008 -0700
+++ b/quid.txt Tue Sep 09 13:12:17 2008 -0700
@@ -1,13 +1,16 @@ 0000000: javac needs to support library
-0000000: javac needs to support library development for non-Java langauges
+6746458: writing libraries in Java for non-Java languages requires support for exotic identifiers
Summary: token syntax (currently non-standard) for introducing exotic identifiers
-http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=<TBD>
+javac needs to support library development for non-Java langauges
+
+http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=6746458
Features:
- hash mark followed immediately by string literal creates an identifier of the given spelling
- no other processing or interpretation is given to the identifier
- #"foo" is indistinguishable from foo, if foo is a normal, non-keyword identifier
-- BUG: the javac backend needs to check exotic identifiers against JVM limitations
+- rejects exotic identifiers which may run into JVM limitations
+- rejects empty string and any string with one of "/.;<>["
- user must mangle invalid symbols; see http://blogs.sun.com/jrose/entry/symbolic_freedom_in_the_vm
Examples from the unit test: