Community
Participate
Working Groups
The code below compiles with the Eclipse compiler while javac rejects it with an "illegal start of expression" error. @RunWith(Suite.class) @Suite.SuiteClasses( { SomeTest.class, }) public class SomeSuite { } [javac] SomeSuite.java:9: illegal start of expression ERROR : [javac] @Suite.SuiteClasses( { SomeTest.class, }) ERROR : [javac] ^ ERROR : [javac] 1 error
As discussed in bug 112433 this is a bug in Sun's javac, not Eclipse.
Closing as a dup of bug 112433. *** This bug has been marked as a duplicate of bug 112433 ***
Verified for 3.6M2