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: Serialization problem




On Nov 29, 2007, at 6:17 PM, Calum Shaw-Mackay wrote:

or you have an
old version on your classpath that you don't know about

How do I check this? I'm sorry, I am inexperienced.

You could use which4j ( https://which4j.dev.java.net/ ) which would tell you where a particular class is being loaded from

Quickie...

public class Locater extends ClassLoader {

	public static void main(String[] args) {
		if (args.length == 0) {
			System.out.println("Locater: missing class to locate");
			return;
		}
		System.out.println(new Locater().getResource(args[0]));
	}
	
}

Mike Hall        hallmike at att dot net
http://www.geocities.com/mik3hall
http://sourceforge.net/projects/macnative



_______________________________________________
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: Serialization problem (From: Adrian Bartholomew <email@hidden>)
 >Re: Serialization problem (From: "Calum Shaw-Mackay" <email@hidden>)
 >Re: Serialization problem (From: Adrian Bartholomew <email@hidden>)
 >Re: Serialization problem (From: "Calum Shaw-Mackay" <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.