-
Bug
-
Resolution: Fixed
-
P3
-
1.4.2
-
b17
-
x86
-
windows_xp
Issue | Fix Version | Assignee | Priority | Status | Resolution | Resolved In Build |
---|---|---|---|---|---|---|
JDK-2064693 | 5.0 | Neeraj Bajaj | P3 | Resolved | Fixed | beta |
###@###.### 2003-02-06
J2SE Version (please include all output from java -version flag):
java version "1.4.2-beta"
Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.2-beta-b14)
Java HotSpot(TM) Client VM (build 1.4.2-beta-b14, mixed mode)
Does this problem occur on J2SE 1.3, 1.4 or 1.4.1?
NO, works fine with 1.4.1
Operating System Configuration Information (be specific):
Microsoft Windows XP with IE
Bug Description:
can't use the apache SAX xml parser because it requests access to the
entityExpansionLimit property, and that generates a security exception
(see below). This works fine with 1.4.1:
Java(TM) Plug-in: Version 1.4.2
Using JRE version 1.4.2-beta Java HotSpot(TM) Client VM
User home directory = C:\Documents and Settings\bederson Proxy Configuration: No proxy
java.security.AccessControlException: access denied
(java.util.PropertyPermission entityExpansionLimit read)
at java.security.AccessControlContext.checkPermission(Unknown Source)
at java.security.AccessController.checkPermission(Unknown Source)
at java.lang.SecurityManager.checkPermission(Unknown Source)
at java.lang.SecurityManager.checkPropertyAccess(Unknown Source)
at java.lang.System.getProperty(Unknown Source)
at org.apache.crimson.parser.Parser2.init(Unknown Source)
at org.apache.crimson.parser.Parser2.parse(Unknown Source)
at org.apache.crimson.parser.XMLReaderImpl.parse(Unknown Source)
at javax.xml.parsers.SAXParser.parse(Unknown Source)
at javax.xml.parsers.SAXParser.parse(Unknown Source)
at edu.umd.cs.spacetree.PTreeNodeBuilder.read(Unknown Source)
at edu.umd.cs.spacetree.PSpaceTree.read(Unknown Source)
at edu.umd.cs.spacetree.ApplicationFrame$22.construct(Unknown Source)
at swingworkerdemo.SwingWorker$2.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)
Steps to Reproduce (be specific):
- go to http://www.cs.umd.edu/hcil/spacetree/applet/applet.shtml
- play around spacetree applet.
- get exception on Java Console
- backported by
-
JDK-2064693 REGRESSION:security exception throws on the applet which works fine with 1.4.1
- Resolved