--- old/src/share/classes/com/sun/java/util/jar/pack/UnpackerImpl.java Mon Apr 29 14:51:14 2013 +++ new/src/share/classes/com/sun/java/util/jar/pack/UnpackerImpl.java Mon Apr 29 14:51:13 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,9 +132,16 @@ in0.close(); Utils.markJarFile(out); } else { - (new NativeUnpack(this)).run(in0, out); - in0.close(); - Utils.markJarFile(out); + try { + (new NativeUnpack(this)).run(in0, out); + in0.close(); + Utils.markJarFile(out); + } catch (UnsatisfiedLinkError ule) { + // failover to java implementation + (new DoUnpack()).run(in0, out); + in0.close(); + Utils.markJarFile(out); + } } } finally { _nunp = null;