Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: JVM apparently hanging




On May 2, 2006, at 10:57 AM, Eric Feigenson wrote:


Hello again all...  I haven't tried all the other suggestions yet, but was able to get the Java stack where its hanging in the ZipInputStream constructor.  Does this look familiar to anyone?  Thanks!

Thread [main] (Suspended)
        Runtime.loadLibrary0(Class, String) line: 780   <-- seems to hang here.   Class is sun.security.action.LoadLibraryAction,
                                                                                                          and the String is "zip"
        System.loadLibrary(String) line: 834             // The value of the string argument here is "zip"
        LoadLibraryAction.run() line: 50 [local variables unavailable]
        AccessController.doPrivileged(PrivilegedAction) line: not available [native method]
        CRC32.<clinit>() line: 25 [local variables unavailable]
        ZipInputStream.<init>(InputStream) line: 26
        ClassHashtable.explodeArchive(String, byte[]) line: 112



How about if you first invoke a method something like...

public static void initZipLibrary() {
System.loadLibrary("zip");
}

or even give the class a static initializer that tries it...

static {
System.loadLibrary("zip");
}

Mike Hall        mikehall at spacestar dot net



Attachment: smime.p7s
Description: S/MIME cryptographic signature

 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Java-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/java-dev/email@hidden

This email sent to email@hidden

References: 
 >Re: JVM apparently hanging (From: "Eric Feigenson" <email@hidden>)



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.