Package: classpath
Version: 0.14-2

The attached test case produces an IllegalAccessException on Sun Java 1.4.2 - correctly, I think, because it tries to invoke a method of a package-private class using reflection

However it succeeds on Kaffe (1.1.5-3) & Sable (1.11.3-1)

In consequence, the Jakarta Commons Beanutils build tests fail to run -


     [...]
test.property:
     [echo] Running PropertyUtils tests ...
     [java] .......................................F..
     [java] .........................................
     [java] ..........
     [java] Time: 0.666
     [java] There was 1 failure:
[java] 1) testGetReadMethodPublicInterface(org.apache.commons.beanutils.PropertyUt ilsTestCase)junit.framework.AssertionFailedError: Invoke foo reader: junit.framework.AssertionFailedError: Foo reader did [not] throw IllegalAccessException [java] at org.apache.commons.beanutils.PropertyUtilsTestCase.testGetReadMethodPubl icInterface (PropertyUtilsTestCase.java:1698)
     [java]    at java.lang.reflect.Method.invokeNative (Method.java)
     [java]    at java.lang.reflect.Method.invoke (Method.java:616)
[java] at java.lang.VirtualMachine.invokeMain (VirtualMachine.java) [java] at java.lang.VirtualMachine.main (VirtualMachine.java:108)

     [java] FAILURES!!!
     [java] Tests run: 92,  Failures: 1,  Errors: 0
     [...]


Many thanks!

Jack

Attachment: TestReflect.tgz
Description: GNU Zip compressed data

Reply via email to