Hi List,
To patch the exception I create a new NSTimeZone class in a package
com.webobjects.foundation in my app sources and I patched the java 8 error by
forcing the classLoader to load __NSTZPeriod earlier.
a method which I call :
patchForJre18() {
__NSTZPeriod pourForcerLeClassLoader = new __NSTZPeriod();
}
And then in the new NSTimeZone class put the patch in :
static {
try {
patchForjre18();
...
}
...
}
that's all.
I hope it will help someone else.
Thanks
Envoyé depuis iCloud
Le 19 mai 2015 à 09:44, Raymond NANEON <rnan...@me.com> a écrit :
Hi List,
I updated my dev's computer from java 7 to java 8.
When I try to launch my app, I get a fatal error (WARN NSLog - A fatal
exception occurred: com/webobjects/foundation/NSTimeZone$__NSTZPeriod) on
foundation framework and the app shutdown.
Have I miss a parameter in properties for patching this error ?
Thanks for Help
Envoyé depuis iCloud
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list (Webobjects-dev@lists.apple.com)
Help/Unsubscribe/Update your Subscription:
https://lists.apple.com/mailman/options/webobjects-dev/rnaneon%40me.com
This email sent to rnan...@me.com
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list (Webobjects-dev@lists.apple.com)
Help/Unsubscribe/Update your Subscription:
https://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com
This email sent to arch...@mail-archive.com