Question: is BCELWrapperGenerator supposed to be thread safe? Especially .createWrapper(Class) method invocations?
I'm getting some weird errors from BCEL, from time to time, not always... So I was wondering... looking at the source, it is quite clear that it is not thread safe (usage of m_classGenerator and m_codeGenerator outside of synchronized block). But is it supposed to be?
If it is, then I'll just move the relevant sections inside the synchronized block, if nobody objects...
Most code generators are not supposed to be threadsafe, but our access to it should be. Since Fortress is supposed to be used in multithreaded environments, I suggest we take care of it the best way how.
-- "You know the world is going crazy when the best rapper is a white guy, the best golfer is a black guy, The Swiss hold the America's Cup, France is accusing the US of arrogance, and Germany doesn't want to go to war. And the 3 most powerful men in America are named 'Bush', 'Dick', and 'Colon' (sic)".
-----Chris Rock
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
