Theoretical data race on java.util.logging.Handler.sealed
mandy.chung at oracle.com
Tue Dec 10 04:13:05 UTC 2013
On 12/8/2013 11:19 AM, Peter Levart wrote:
> H Mandy,
> I created an issue for it nevertheless:
> You're right, doPrivileged() is a more straight-forward approach than
> 'sealed' variable. Since this might only be considered for inclusion
> in JDK9 when lambdas are already a tried technology, how do you feel
> about using them for platform code like logging?
I'm in favor of more platform code using lambda when appropriate.
logging is a module separated from the base module in Jigsaw. I don't
see any issue with that while the only thing is that when we backport it
to 8u, the backport would be different - not an issue either.
> As far as I know (just checked), lambda meta-factory is not using any
> j.u.logging, so there is no danger of initialization loops or similar:
I only skim with the change. I will review it tomorrow.
More information about the core-libs-dev