[OpenJDK 2D-Dev] [PATCH] Request for review: 6904882: java.awt.Font.createFont() causes AccessControlException if executed with "-Djava.security.manager"
Roman Kennke
Roman.Kennke at Sun.COM
Mon Nov 30 19:18:23 UTC 2009
This patches fixes bug #6904882. As suggested by Phil it puts the whole
static initializer in a privileged block, grouping the existing 4
smaller blocks into one, and importantly including the offending
File.exists() call. This requires to make the static fields non-final.
http://cr.openjdk.java.net/~rkennke/6904882/webrev.00/
Ok to commit?
/Roman
More information about the 2d-dev
mailing list