RFR: 8019799: api/java_util/jar/Pack200 test failed with compactX profiles. (EZ)

David Holmes david.holmes at oracle.com
Thu Jul 11 05:07:36 UTC 2013

On 10/07/2013 6:25 AM, Kumar Srinivasan wrote:
> Hi,
> We had earlier added a fail over to the java implementation, for reference:
> http://hg.openjdk.java.net/jdk8/jdk8/jdk/rev/1432a6247ac9
> The first time the unpacker is called  an UnsatisfiedLinkError will be
> thrown, but
> subsequent invocations in the same JDK/VM instance, a NoClassDefFoundError
> will be thrown. This error also needs to be caught and handled.

Ugghhh. Presumably we need a test update to catch this?

> Here is the modified webrev:
> http://cr.openjdk.java.net/~ksrini/8019799/webrev.0/

Looks okay - but no test.

It would be better/more-efficient if the presence of the native 
implementation could be detected once during class initialization. But I 
won't try to force that on you. :)


> Thanks
> Kumar

More information about the core-libs-dev mailing list