Community
Participate
Working Groups
/* The next peace of code produces Compiler Error messages: * 1. Invalid Unicode * 2. nvalidUnicode cannot become resolvewd (or ....) * 3. y can not be resolved * I think only the first error should become reported, because all others * (possible very much) confuses me (and perhaps other persons) * Bug Seven? * * Kinds regards * mle */ /** * .\uInvalidUnicode converts comment to none-comment * int x=y; */
I can only reproduce the invalid unicode in comment which is legite.
Sorry I forget to note the version I use: linux_i386.eclipse_gtk_2003_10_10 integration build. Yesterday I tried the newest intergration build and there are some (at least one) bugs fixed in the compiler; but the new version debugpane is too buggy for me, so I stopped using it. Perhaps this bug is fixed also in the newest release. Sorry for my bug report on old version. PS: I read a little bit in the sources of http://dev.eclipse.org/viewcvs/index.cgi/%7Echeckout%7E/jdt-core-home/r3.0/main.html#updates and it seams it exists a good peace of Java 1.5 language features in the compiler. When are they useable? I tried to compile a template, but it doesn't work.
1.5 support is in progress, we will broadcast once we reach some decent state. This isn't achieved yet. We have a grammar and some of the nodes created, but not supported yet. The unicode issue is a JLS requirement (JLS 3.2) or see bug 6677. Does the invalid reference occur if you remove the invalid unicode ?
>The unicode issue is a JLS requirement (JLS 3.2) or see bug 6677. I know: first lex, then parse the JavaCode or something like that .. . > Does the invalid reference occur if you remove the invalid unicode ? No: If I remove the invalid unicode, or insert an valid one everything is ok. Btw: I discovered this (fixed) bug as I inserted ca. 100 lines of a Windows batch file in a comment: I got dozend of compilaton errors beyond an invalid unicode.
Is it ok to close now ?
Yes, please close it. (Btw: (--bugcount) == 6 ;-)
Closing, as reporter cannot reproduce either on latest.