Community
Participate
Working Groups
I am using v3.1.0 Build id :I20050627-1435 java.lang.IllegalArgumentException: illegal character literal at org.eclipse.jdt.core.dom.CharacterLiteral.charValue(CharacterLiteral.java:275) test case : public class Test { public void m(char c) { if (c == '\0') { } if (c == '\1') { } if (c == '\2') { } if (c == '\3') { } if (c == '\4') { } if (c == '\5') { } if (c == '\6') { } if (c == '\7') { } } }
Created attachment 27319 [details] Proposed fix
Philippe, do you want this one for 3.1.1 or 3.2M2?
Created attachment 27618 [details] Proposed fix
Created attachment 27619 [details] Regression test
Fixed and released in HEAD. Regression test added in org.eclipse.jdt.core.tests.dom.ASTConverterTestAST3_2.test0620
*** Bug 92866 has been marked as a duplicate of this bug. ***
Verified for 3.2 M3 using ASTView and build I20051025-0800+v_619