--- old/src/share/classes/com/sun/java/util/jar/pack/UnpackerImpl.java Tue Apr 30 06:47:17 2013 +++ new/src/share/classes/com/sun/java/util/jar/pack/UnpackerImpl.java Tue Apr 30 06:47:17 2013 @@ -1,5 +1,5 @@ /* - * Copyright (c) 2003, 2012, Oracle and/or its affiliates. All rights reserved. + * Copyright (c) 2003, 2013, Oracle and/or its affiliates. All rights reserved. * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * * This code is free software; you can redistribute it and/or modify it @@ -132,7 +132,12 @@ in0.close(); Utils.markJarFile(out); } else { - (new NativeUnpack(this)).run(in0, out); + try { + (new NativeUnpack(this)).run(in0, out); + } catch (UnsatisfiedLinkError ule) { + // failover to java implementation + (new DoUnpack()).run(in0, out); + } in0.close(); Utils.markJarFile(out); }