Community
Participate
Working Groups
From bug 161996. This command line 'java -jar ecj.jar -cp [test].jar Hello.java' isn't supported and return the message 'incorrect classpath: [test].jar'. It works if [ isn't the first character 'java -jar ecj.jar -cp .\[test].jar Hello.java'
Test case in BatchCompilerTest will be: public void test139_classpath() { String cp = "[a].jar"; runClasspathTest( cp, new String [] { cp, null, null, }, null); } Problem is that the start state is not singled out on a '[' token.
Created attachment 58557 [details] Fix + test cases
Released for 3.3 M6.
Verified for 3.3 M6 using build I20070320-0010