Never seen anything like it... but am I crazy here? I thought "Ljava/lang/String" would be referring to a String[], but there is no such method "void expectLog(String[], String[])", only "void expectLog(String, String)".
If I am not mistaken about the significance of the "L", I suppose this would be significant of some kind of weird compilation problem as you suggest... :( -Matt --- Steve Loughran <[EMAIL PROTECTED]> wrote: > Anyone else seen this? > > [junit] Testcase: > testDuplicateTargetsImport(org.apache.tools.ant.ProjectTes > t): Caused an ERROR > [junit] tried to access method > org.apache.tools.ant.BuildFileTest.expectLog( > Ljava/lang/String;Ljava/lang/String;)V from class > org.apache.tools.ant.ProjectTe > st > [junit] java.lang.IllegalAccessError: tried to > access method > org.apache.tool > s.ant.BuildFileTest.expectLog(Ljava/lang/String;Ljava/lang/String;)V > > from class > org.apache.tools.ant.ProjectTest > [junit] at > org.apache.tools.ant.ProjectTest.testDuplicateTargetsImport(P > rojectTest.java:221) > [junit] at > sun.reflect.NativeMethodAccessorImpl.invoke0(Native > Method) > [junit] at > sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAcces > sorImpl.java:39) > [junit] at > sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMet > hodAccessorImpl.java:25) > [junit] at > java.lang.reflect.Method.invoke(Method.java:324) > [junit] at > junit.framework.TestCase.runTest(TestCase.java:154) > [junit] at > junit.framework.TestCase.runBare(TestCase.java:127) > [junit] at > junit.framework.TestResult$1.protect(TestResult.java:106) > [junit] at > junit.framework.TestResult.runProtected(TestResult.java:124) > [junit] at > junit.framework.TestResult.run(TestResult.java:109) > [junit] at > junit.framework.TestCase.run(TestCase.java:118) > [junit] at > junit.framework.TestSuite.runTest(TestSuite.java:208) > [junit] at > junit.framework.TestSuite.run(TestSuite.java:203) > [junit] at > org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner. > > > I switched from javac to jikes to see if it made it > go away, and nope. > Rh9.0; Java1.4.2 BTW. > > --------------------------------------------------------------------- > To unsubscribe, e-mail: > [EMAIL PROTECTED] > For additional commands, e-mail: > [EMAIL PROTECTED] > __________________________________ Do you Yahoo!? Yahoo! Photos: High-quality 4x6 digital prints for 25¢ http://photos.yahoo.com/ph/print_splash --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]