[Bug 381] Stackoverflow error with security manager, signed jars and -Djava.security.debug set

bugzilla-daemon at icedtea.classpath.org bugzilla-daemon at icedtea.classpath.org
Fri Aug 21 03:07:21 PDT 2009


http://icedtea.classpath.org/bugzilla/show_bug.cgi?id=381





------- Comment #7 from mark at klomp.org  2009-08-21 10:07 -------
(In reply to comment #6)
> The suspicious code that mjw highlights in his comment was written by me. I
> have attached a patch which I've had lying around for a long time which should
> help address this bug. I don't know why I never checked this in -- probably
> just got tied up with JCK testing, and it slipped through the cracks. 

Thanks Keith. That mimics what I was planning to do.
I adjusted your patch a little since I couldn't figure out what was guarding
JAVAZI_DIR_initialized. Since the intention is to only initialize this once,
and I didn't want to introduce any possible race conditions between checking
JAVAZI_DIR_initialized and using JAVAZI_DIR from different threads, I just made
it so that JAVAZI_DIR is just initialized once when the class is loaded.

Also I didn't take the changes to the sun.zoneinfo.dir settings. Wanting to
only change as little as possible to fix this bug. Also I admit to not fully
understanding the intend behind that part of your change.


-- 
Configure bugmail: http://icedtea.classpath.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.



More information about the distro-pkg-dev mailing list