[rfc][icedtea-web] AccessClassInPackage Reproducer Failure
jkang at redhat.com
Wed Nov 12 21:25:45 UTC 2014
I have been running a lot of reproducers lately and some consistent failures caught my eye today. In the AccessClassInPackage reproducers, a number of asserts are made including the following two:
Assert.assertFalse("AccessClassInPackageTestLunch1 should not be terminated, but was", pr.wasTerminated);
Assert.assertEquals((Integer) 0, pr.returnValue);
The tests all fail due to these two asserts (wasTerminated is always true, not false, and return value is always 130 (exit due to control-C? ), not 0). When removing these lines and checking the tests, they all work and pass. The Class.forName call succeeds and is printed to stdout.
So I am wondering, what are these two lines for? Is there some regression causing these failures?
P.S. patch attached is for easy reference to code I am talking about above; not an actual patch (though we may want to apply a similar patch)
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 1678 bytes
Desc: not available
More information about the distro-pkg-dev