harmony-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Nathan Beyer (JIRA)" <j...@apache.org>
Subject [jira] Commented: (HARMONY-6503) [classlib][luni] ObjectOutputStream.writeObject throws AccessControlException when suppressAccessChecks not granted
Date Sat, 24 Apr 2010 23:21:49 GMT

    [ https://issues.apache.org/jira/browse/HARMONY-6503?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12860615#action_12860615
] 

Nathan Beyer commented on HARMONY-6503:
---------------------------------------

Here's what the log is showing ...

    [junit] Running org.apache.harmony.luni.tests.java.io.ObjectOutputStreamTest
    [junit] Uncaught exception in main:
    [junit] java.security.AccessControlException: Permission check failed (java.lang.RuntimePermission
setIO)
    [junit] 	at java.security.AccessControlContext.checkPermission(AccessControlContext.java:132)
    [junit] 	at java.security.AccessController.checkPermission(AccessController.java:194)
    [junit] 	at java.lang.SecurityManager.checkPermission(SecurityManager.java:862)
    [junit] 	at java.lang.System.setOut(System.java:292)
    [junit] 	at org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.run(JUnitTestRunner.java:437)
    [junit] 	at org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.launch(JUnitTestRunner.java:911)
    [junit] 	at org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.main(JUnitTestRunner.java:743)
    [junit] 2010-04-24 14:31:36.784::WARN:  EXCEPTION 
    [junit] java.security.AccessControlException: Permission check failed (java.lang.RuntimePermission
setContextClassLoader)
    [junit] 	at java.security.AccessControlContext.checkPermission(AccessControlContext.java:132)
    [junit] 	at java.security.AccessController.checkPermission(AccessController.java:194)
    [junit] 	at java.lang.SecurityManager.checkPermission(SecurityManager.java:862)
    [junit] 	at java.lang.Thread.setContextClassLoader(Thread.java:690)
    [junit] 	at org.mortbay.jetty.servlet.AbstractSessionManager.scavenge(AbstractSessionManager.java:388)
    [junit] 	at org.mortbay.jetty.servlet.AbstractSessionManager.access$600(AbstractSessionManager.java:62)
    [junit] 	at org.mortbay.jetty.servlet.AbstractSessionManager$SessionScavenger.run(AbstractSessionManager.java:934)
    [junit] 	at org.mortbay.thread.BoundedThreadPool$PoolThread.run(BoundedThreadPool.java:475)
    [junit] 2010-04-24 14:32:06.788::WARN:  EXCEPTION 
    [junit] java.security.AccessControlException: Permission check failed (java.lang.RuntimePermission
setContextClassLoader)
    [junit] 	at java.security.AccessControlContext.checkPermission(AccessControlContext.java:132)
    [junit] 	at java.security.AccessController.checkPermission(AccessController.java:194)
    [junit] 	at java.lang.SecurityManager.checkPermission(SecurityManager.java:862)
    [junit] 	at java.lang.Thread.setContextClassLoader(Thread.java:690)
    [junit] 	at org.mortbay.jetty.servlet.AbstractSessionManager.scavenge(AbstractSessionManager.java:388)
    [junit] 	at org.mortbay.jetty.servlet.AbstractSessionManager.access$600(AbstractSessionManager.java:62)
    [junit] 	at org.mortbay.jetty.servlet.AbstractSessionManager$SessionScavenger.run(AbstractSessionManager.java:934)
    [junit] 	at org.mortbay.thread.BoundedThreadPool$PoolThread.run(BoundedThreadPool.java:475)
    [junit] 2010-04-24 14:32:36.792::WARN:  EXCEPTION 
    [junit] java.security.AccessControlException: Permission check failed (java.lang.RuntimePermission
setContextClassLoader)
    [junit] 	at java.security.AccessControlContext.checkPermission(AccessControlContext.java:132)
    [junit] 	at java.security.AccessController.checkPermission(AccessController.java:194)
    [junit] 	at java.lang.SecurityManager.checkPermission(SecurityManager.java:862)
    [junit] 	at java.lang.Thread.setContextClassLoader(Thread.java:690)
    [junit] 	at org.mortbay.jetty.servlet.AbstractSessionManager.scavenge(AbstractSessionManager.java:388)
    [junit] 	at org.mortbay.jetty.servlet.AbstractSessionManager.access$600(AbstractSessionManager.java:62)
    [junit] 	at org.mortbay.jetty.servlet.AbstractSessionManager$SessionScavenger.run(AbstractSessionManager.java:934)
    [junit] 	at org.mortbay.thread.BoundedThreadPool$PoolThread.run(BoundedThreadPool.java:475)
    [junit] 2010-04-24 14:33:06.796::WARN:  EXCEPTION 
    [junit] java.security.AccessControlException: Permission check failed (java.lang.RuntimePermission
setContextClassLoader)
    [junit] 	at java.security.AccessControlContext.checkPermission(AccessControlContext.java:132)
    [junit] 	at java.security.AccessController.checkPermission(AccessController.java:194)
    [junit] 	at java.lang.SecurityManager.checkPermission(SecurityManager.java:862)
    [junit] 	at java.lang.Thread.setContextClassLoader(Thread.java:690)
    [junit] 	at org.mortbay.jetty.servlet.AbstractSessionManager.scavenge(AbstractSessionManager.java:388)
    [junit] 	at org.mortbay.jetty.servlet.AbstractSessionManager.access$600(AbstractSessionManager.java:62)
    [junit] 	at org.mortbay.jetty.servlet.AbstractSessionManager$SessionScavenger.run(AbstractSessionManager.java:934)
    [junit] 	at org.mortbay.thread.BoundedThreadPool$PoolThread.run(BoundedThreadPool.java:475)
    [junit] 2010-04-24 14:33:36.800::WARN:  EXCEPTION 
    [junit] java.security.AccessControlException: Permission check failed (java.lang.RuntimePermission
setContextClassLoader)
    [junit] 	at java.security.AccessControlContext.checkPermission(AccessControlContext.java:132)
    [junit] 	at java.security.AccessController.checkPermission(AccessController.java:194)
    [junit] 	at java.lang.SecurityManager.checkPermission(SecurityManager.java:862)
    [junit] 	at java.lang.Thread.setContextClassLoader(Thread.java:690)
    [junit] 	at org.mortbay.jetty.servlet.AbstractSessionManager.scavenge(AbstractSessionManager.java:388)
    [junit] 	at org.mortbay.jetty.servlet.AbstractSessionManager.access$600(AbstractSessionManager.java:62)
    [junit] 	at org.mortbay.jetty.servlet.AbstractSessionManager$SessionScavenger.run(AbstractSessionManager.java:934)
    [junit] 	at org.mortbay.thread.BoundedThreadPool$PoolThread.run(BoundedThreadPool.java:475)
    [junit] 2010-04-24 14:34:06.804::WARN:  EXCEPTION 
    [junit] java.security.AccessControlException: Permission check failed (java.lang.RuntimePermission
setContextClassLoader)
    [junit] 	at java.security.AccessControlContext.checkPermission(AccessControlContext.java:132)
    [junit] 	at java.security.AccessController.checkPermission(AccessController.java:194)
    [junit] 	at java.lang.SecurityManager.checkPermission(SecurityManager.java:862)
    [junit] 	at java.lang.Thread.setContextClassLoader(Thread.java:690)
    [junit] 	at org.mortbay.jetty.servlet.AbstractSessionManager.scavenge(AbstractSessionManager.java:388)
    [junit] 	at org.mortbay.jetty.servlet.AbstractSessionManager.access$600(AbstractSessionManager.java:62)
    [junit] 	at org.mortbay.jetty.servlet.AbstractSessionManager$SessionScavenger.run(AbstractSessionManager.java:934)
    [junit] 	at org.mortbay.thread.BoundedThreadPool$PoolThread.run(BoundedThreadPool.java:475)
    [junit] 2010-04-24 14:34:36.807::WARN:  EXCEPTION 
    [junit] java.security.AccessControlException: Permission check failed (java.lang.RuntimePermission
setContextClassLoader)
    [junit] 	at java.security.AccessControlContext.checkPermission(AccessControlContext.java:132)
    [junit] 	at java.security.AccessController.checkPermission(AccessController.java:194)
    [junit] 	at java.lang.SecurityManager.checkPermission(SecurityManager.java:862)
    [junit] 	at java.lang.Thread.setContextClassLoader(Thread.java:690)
    [junit] 	at org.mortbay.jetty.servlet.AbstractSessionManager.scavenge(AbstractSessionManager.java:388)
    [junit] 	at org.mortbay.jetty.servlet.AbstractSessionManager.access$600(AbstractSessionManager.java:62)
    [junit] 	at org.mortbay.jetty.servlet.AbstractSessionManager$SessionScavenger.run(AbstractSessionManager.java:934)
    [junit] 	at org.mortbay.thread.BoundedThreadPool$PoolThread.run(BoundedThreadPool.java:475)
    [junit] 2010-04-24 14:35:06.810::WARN:  EXCEPTION 
    [junit] java.security.AccessControlException: Permission check failed (java.lang.RuntimePermission
setContextClassLoader)
    [junit] 	at java.security.AccessControlContext.checkPermission(AccessControlContext.java:132)
    [junit] 	at java.security.AccessController.checkPermission(AccessController.java:194)
    [junit] 	at java.lang.SecurityManager.checkPermission(SecurityManager.java:862)
    [junit] 	at java.lang.Thread.setContextClassLoader(Thread.java:690)
    [junit] 	at org.mortbay.jetty.servlet.AbstractSessionManager.scavenge(AbstractSessionManager.java:388)
    [junit] 	at org.mortbay.jetty.servlet.AbstractSessionManager.access$600(AbstractSessionManager.java:62)
    [junit] 	at org.mortbay.jetty.servlet.AbstractSessionManager$SessionScavenger.run(AbstractSessionManager.java:934)
    [junit] 	at org.mortbay.thread.BoundedThreadPool$PoolThread.run(BoundedThreadPool.java:475)
    [junit] 2010-04-24 14:35:36.812::WARN:  EXCEPTION 
    [junit] java.security.AccessControlException: Permission check failed (java.lang.RuntimePermission
setContextClassLoader)
    [junit] 	at java.security.AccessControlContext.checkPermission(AccessControlContext.java:132)
    [junit] 	at java.security.AccessController.checkPermission(AccessController.java:194)
    [junit] 	at java.lang.SecurityManager.checkPermission(SecurityManager.java:862)
    [junit] 	at java.lang.Thread.setContextClassLoader(Thread.java:690)
    [junit] 	at org.mortbay.jetty.servlet.AbstractSessionManager.scavenge(AbstractSessionManager.java:388)
    [junit] 	at org.mortbay.jetty.servlet.AbstractSessionManager.access$600(AbstractSessionManager.java:62)
    [junit] 	at org.mortbay.jetty.servlet.AbstractSessionManager$SessionScavenger.run(AbstractSessionManager.java:934)
    [junit] 	at org.mortbay.thread.BoundedThreadPool$PoolThread.run(BoundedThreadPool.java:475)
    [junit] 2010-04-24 14:36:06.816::WARN:  EXCEPTION 
    [junit] java.security.AccessControlException: Permission check failed (java.lang.RuntimePermission
setContextClassLoader)
    [junit] 	at java.security.AccessControlContext.checkPermission(AccessControlContext.java:132)
    [junit] 	at java.security.AccessController.checkPermission(AccessController.java:194)
    [junit] 	at java.lang.SecurityManager.checkPermission(SecurityManager.java:862)
    [junit] 	at java.lang.Thread.setContextClassLoader(Thread.java:690)
    [junit] 	at org.mortbay.jetty.servlet.AbstractSessionManager.scavenge(AbstractSessionManager.java:388)
    [junit] 	at org.mortbay.jetty.servlet.AbstractSessionManager.access$600(AbstractSessionManager.java:62)
    [junit] 	at org.mortbay.jetty.servlet.AbstractSessionManager$SessionScavenger.run(AbstractSessionManager.java:934)
    [junit] 	at org.mortbay.thread.BoundedThreadPool$PoolThread.run(BoundedThreadPool.java:475)
    [junit] 2010-04-24 14:36:36.818::WARN:  EXCEPTION 
    [junit] java.security.AccessControlException: Permission check failed (java.lang.RuntimePermission
setContextClassLoader)
    [junit] 	at java.security.AccessControlContext.checkPermission(AccessControlContext.java:132)
    [junit] 	at java.security.AccessController.checkPermission(AccessController.java:194)
    [junit] 	at java.lang.SecurityManager.checkPermission(SecurityManager.java:862)
    [junit] 	at java.lang.Thread.setContextClassLoader(Thread.java:690)
    [junit] 	at org.mortbay.jetty.servlet.AbstractSessionManager.scavenge(AbstractSessionManager.java:388)
    [junit] 	at org.mortbay.jetty.servlet.AbstractSessionManager.access$600(AbstractSessionManager.java:62)
    [junit] 	at org.mortbay.jetty.servlet.AbstractSessionManager$SessionScavenger.run(AbstractSessionManager.java:934)
    [junit] 	at org.mortbay.thread.BoundedThreadPool$PoolThread.run(BoundedThreadPool.java:475)
    [junit] 2010-04-24 14:37:06.820::WARN:  EXCEPTION 
    [junit] java.security.AccessControlException: Permission check failed (java.lang.RuntimePermission
setContextClassLoader)
    [junit] 	at java.security.AccessControlContext.checkPermission(AccessControlContext.java:132)
    [junit] 	at java.security.AccessController.checkPermission(AccessController.java:194)
    [junit] 	at java.lang.SecurityManager.checkPermission(SecurityManager.java:862)
    [junit] 	at java.lang.Thread.setContextClassLoader(Thread.java:690)
    [junit] 	at org.mortbay.jetty.servlet.AbstractSessionManager.scavenge(AbstractSessionManager.java:388)
    [junit] 	at org.mortbay.jetty.servlet.AbstractSessionManager.access$600(AbstractSessionManager.java:62)
    [junit] 	at org.mortbay.jetty.servlet.AbstractSessionManager$SessionScavenger.run(AbstractSessionManager.java:934)
    [junit] 	at org.mortbay.thread.BoundedThreadPool$PoolThread.run(BoundedThreadPool.java:475)
    [junit] 2010-04-24 14:37:36.838::WARN:  EXCEPTION 
    [junit] java.security.AccessControlException: Permission check failed (java.lang.RuntimePermission
setContextClassLoader)
    [junit] 	at java.security.AccessControlContext.checkPermission(AccessControlContext.java:132)
    [junit] 	at java.security.AccessController.checkPermission(AccessController.java:194)
    [junit] 	at java.lang.SecurityManager.checkPermission(SecurityManager.java:862)
    [junit] 	at java.lang.Thread.setContextClassLoader(Thread.java:690)
    [junit] 	at org.mortbay.jetty.servlet.AbstractSessionManager.scavenge(AbstractSessionManager.java:388)
    [junit] 	at org.mortbay.jetty.servlet.AbstractSessionManager.access$600(AbstractSessionManager.java:62)
    [junit] 	at org.mortbay.jetty.servlet.AbstractSessionManager$SessionScavenger.run(AbstractSessionManager.java:934)
    [junit] 	at org.mortbay.thread.BoundedThreadPool$PoolThread.run(BoundedThreadPool.java:475)
    [junit] 2010-04-24 14:38:06.840::WARN:  EXCEPTION 
    [junit] java.security.AccessControlException: Permission check failed (java.lang.RuntimePermission
setContextClassLoader)
    [junit] 	at java.security.AccessControlContext.checkPermission(AccessControlContext.java:132)
    [junit] 	at java.security.AccessController.checkPermission(AccessController.java:194)
    [junit] 	at java.lang.SecurityManager.checkPermission(SecurityManager.java:862)
    [junit] 	at java.lang.Thread.setContextClassLoader(Thread.java:690)
    [junit] 	at org.mortbay.jetty.servlet.AbstractSessionManager.scavenge(AbstractSessionManager.java:388)
    [junit] 	at org.mortbay.jetty.servlet.AbstractSessionManager.access$600(AbstractSessionManager.java:62)
    [junit] 	at org.mortbay.jetty.servlet.AbstractSessionManager$SessionScavenger.run(AbstractSessionManager.java:934)
    [junit] 	at org.mortbay.thread.BoundedThreadPool$PoolThread.run(BoundedThreadPool.java:475)
    [junit] 2010-04-24 14:38:36.843::WARN:  EXCEPTION 
    [junit] java.security.AccessControlException: Permission check failed (java.lang.RuntimePermission
setContextClassLoader)
    [junit] 	at java.security.AccessControlContext.checkPermission(AccessControlContext.java:132)
    [junit] 	at java.security.AccessController.checkPermission(AccessController.java:194)
    [junit] 	at java.lang.SecurityManager.checkPermission(SecurityManager.java:862)
    [junit] 	at java.lang.Thread.setContextClassLoader(Thread.java:690)
    [junit] 	at org.mortbay.jetty.servlet.AbstractSessionManager.scavenge(AbstractSessionManager.java:388)
    [junit] 	at org.mortbay.jetty.servlet.AbstractSessionManager.access$600(AbstractSessionManager.java:62)
    [junit] 	at org.mortbay.jetty.servlet.AbstractSessionManager$SessionScavenger.run(AbstractSessionManager.java:934)
    [junit] 	at org.mortbay.thread.BoundedThreadPool$PoolThread.run(BoundedThreadPool.java:475)
    [junit] 2010-04-24 14:39:06.847::WARN:  EXCEPTION 
    [junit] java.security.AccessControlException: Permission check failed (java.lang.RuntimePermission
setContextClassLoader)
    [junit] 	at java.security.AccessControlContext.checkPermission(AccessControlContext.java:132)
    [junit] 	at java.security.AccessController.checkPermission(AccessController.java:194)
    [junit] 	at java.lang.SecurityManager.checkPermission(SecurityManager.java:862)
    [junit] 	at java.lang.Thread.setContextClassLoader(Thread.java:690)
    [junit] 	at org.mortbay.jetty.servlet.AbstractSessionManager.scavenge(AbstractSessionManager.java:388)
    [junit] 	at org.mortbay.jetty.servlet.AbstractSessionManager.access$600(AbstractSessionManager.java:62)
    [junit] 	at org.mortbay.jetty.servlet.AbstractSessionManager$SessionScavenger.run(AbstractSessionManager.java:934)
    [junit] 	at org.mortbay.thread.BoundedThreadPool$PoolThread.run(BoundedThreadPool.java:475)
    [junit] 2010-04-24 14:39:36.852::WARN:  EXCEPTION 
    [junit] java.security.AccessControlException: Permission check failed (java.lang.RuntimePermission
setContextClassLoader)
    [junit] 	at java.security.AccessControlContext.checkPermission(AccessControlContext.java:132)
    [junit] 	at java.security.AccessController.checkPermission(AccessController.java:194)
    [junit] 	at java.lang.SecurityManager.checkPermission(SecurityManager.java:862)
    [junit] 	at java.lang.Thread.setContextClassLoader(Thread.java:690)
    [junit] 	at org.mortbay.jetty.servlet.AbstractSessionManager.scavenge(AbstractSessionManager.java:388)
    [junit] 	at org.mortbay.jetty.servlet.AbstractSessionManager.access$600(AbstractSessionManager.java:62)
    [junit] 	at org.mortbay.jetty.servlet.AbstractSessionManager$SessionScavenger.run(AbstractSessionManager.java:934)
    [junit] 	at org.mortbay.thread.BoundedThreadPool$PoolThread.run(BoundedThreadPool.java:475)
    [junit] 2010-04-24 14:40:06.855::WARN:  EXCEPTION 
    [junit] java.security.AccessControlException: Permission check failed (java.lang.RuntimePermission
setContextClassLoader)
    [junit] 	at java.security.AccessControlContext.checkPermission(AccessControlContext.java:132)
    [junit] 	at java.security.AccessController.checkPermission(AccessController.java:194)
    [junit] 	at java.lang.SecurityManager.checkPermission(SecurityManager.java:862)
    [junit] 	at java.lang.Thread.setContextClassLoader(Thread.java:690)
    [junit] 	at org.mortbay.jetty.servlet.AbstractSessionManager.scavenge(AbstractSessionManager.java:388)
    [junit] 	at org.mortbay.jetty.servlet.AbstractSessionManager.access$600(AbstractSessionManager.java:62)
    [junit] 	at org.mortbay.jetty.servlet.AbstractSessionManager$SessionScavenger.run(AbstractSessionManager.java:934)
    [junit] 	at org.mortbay.thread.BoundedThreadPool$PoolThread.run(BoundedThreadPool.java:475)
    [junit] 2010-04-24 14:40:36.857::WARN:  EXCEPTION 
    [junit] java.security.AccessControlException: Permission check failed (java.lang.RuntimePermission
setContextClassLoader)
    [junit] 	at java.security.AccessControlContext.checkPermission(AccessControlContext.java:132)
    [junit] 	at java.security.AccessController.checkPermission(AccessController.java:194)
    [junit] 	at java.lang.SecurityManager.checkPermission(SecurityManager.java:862)
    [junit] 	at java.lang.Thread.setContextClassLoader(Thread.java:690)
    [junit] 	at org.mortbay.jetty.servlet.AbstractSessionManager.scavenge(AbstractSessionManager.java:388)
    [junit] 	at org.mortbay.jetty.servlet.AbstractSessionManager.access$600(AbstractSessionManager.java:62)
    [junit] 	at org.mortbay.jetty.servlet.AbstractSessionManager$SessionScavenger.run(AbstractSessionManager.java:934)
    [junit] 	at org.mortbay.thread.BoundedThreadPool$PoolThread.run(BoundedThreadPool.java:475)
    [junit] 2010-04-24 14:41:06.859::WARN:  EXCEPTION 
    [junit] java.security.AccessControlException: Permission check failed (java.lang.RuntimePermission
setContextClassLoader)
    [junit] 	at java.security.AccessControlContext.checkPermission(AccessControlContext.java:132)
    [junit] 	at java.security.AccessController.checkPermission(AccessController.java:194)
    [junit] 	at java.lang.SecurityManager.checkPermission(SecurityManager.java:862)
    [junit] 	at java.lang.Thread.setContextClassLoader(Thread.java:690)
    [junit] 	at org.mortbay.jetty.servlet.AbstractSessionManager.scavenge(AbstractSessionManager.java:388)
    [junit] 	at org.mortbay.jetty.servlet.AbstractSessionManager.access$600(AbstractSessionManager.java:62)
    [junit] 	at org.mortbay.jetty.servlet.AbstractSessionManager$SessionScavenger.run(AbstractSessionManager.java:934)
    [junit] 	at org.mortbay.thread.BoundedThreadPool$PoolThread.run(BoundedThreadPool.java:475)
    [junit] 2010-04-24 14:41:36.862::WARN:  EXCEPTION 
    [junit] java.security.AccessControlException: Permission check failed (java.lang.RuntimePermission
setContextClassLoader)
    [junit] 	at java.security.AccessControlContext.checkPermission(AccessControlContext.java:132)
    [junit] 	at java.security.AccessController.checkPermission(AccessController.java:194)
    [junit] 	at java.lang.SecurityManager.checkPermission(SecurityManager.java:862)
    [junit] 	at java.lang.Thread.setContextClassLoader(Thread.java:690)
    [junit] 	at org.mortbay.jetty.servlet.AbstractSessionManager.scavenge(AbstractSessionManager.java:388)
    [junit] 	at org.mortbay.jetty.servlet.AbstractSessionManager.access$600(AbstractSessionManager.java:62)
    [junit] 	at org.mortbay.jetty.servlet.AbstractSessionManager$SessionScavenger.run(AbstractSessionManager.java:934)
    [junit] 	at org.mortbay.thread.BoundedThreadPool$PoolThread.run(BoundedThreadPool.java:475)
    [junit] 2010-04-24 14:42:06.864::WARN:  EXCEPTION 
    [junit] java.security.AccessControlException: Permission check failed (java.lang.RuntimePermission
setContextClassLoader)
    [junit] 	at java.security.AccessControlContext.checkPermission(AccessControlContext.java:132)
    [junit] 	at java.security.AccessController.checkPermission(AccessController.java:194)
    [junit] 	at java.lang.SecurityManager.checkPermission(SecurityManager.java:862)
    [junit] 	at java.lang.Thread.setContextClassLoader(Thread.java:690)
    [junit] 	at org.mortbay.jetty.servlet.AbstractSessionManager.scavenge(AbstractSessionManager.java:388)
    [junit] 	at org.mortbay.jetty.servlet.AbstractSessionManager.access$600(AbstractSessionManager.java:62)
    [junit] 	at org.mortbay.jetty.servlet.AbstractSessionManager$SessionScavenger.run(AbstractSessionManager.java:934)
    [junit] 	at org.mortbay.thread.BoundedThreadPool$PoolThread.run(BoundedThreadPool.java:475)
    [junit] 2010-04-24 14:42:36.866::WARN:  EXCEPTION 
    [junit] java.security.AccessControlException: Permission check failed (java.lang.RuntimePermission
setContextClassLoader)
    [junit] 	at java.security.AccessControlContext.checkPermission(AccessControlContext.java:132)
    [junit] 	at java.security.AccessController.checkPermission(AccessController.java:194)
    [junit] 	at java.lang.SecurityManager.checkPermission(SecurityManager.java:862)
    [junit] 	at java.lang.Thread.setContextClassLoader(Thread.java:690)
    [junit] 	at org.mortbay.jetty.servlet.AbstractSessionManager.scavenge(AbstractSessionManager.java:388)
    [junit] 	at org.mortbay.jetty.servlet.AbstractSessionManager.access$600(AbstractSessionManager.java:62)
    [junit] 	at org.mortbay.jetty.servlet.AbstractSessionManager$SessionScavenger.run(AbstractSessionManager.java:934)
    [junit] 	at org.mortbay.thread.BoundedThreadPool$PoolThread.run(BoundedThreadPool.java:475)
    [junit] 2010-04-24 14:43:06.869::WARN:  EXCEPTION 
    [junit] java.security.AccessControlException: Permission check failed (java.lang.RuntimePermission
setContextClassLoader)
    [junit] 	at java.security.AccessControlContext.checkPermission(AccessControlContext.java:132)
    [junit] 	at java.security.AccessController.checkPermission(AccessController.java:194)
    [junit] 	at java.lang.SecurityManager.checkPermission(SecurityManager.java:862)
    [junit] 	at java.lang.Thread.setContextClassLoader(Thread.java:690)
    [junit] 	at org.mortbay.jetty.servlet.AbstractSessionManager.scavenge(AbstractSessionManager.java:388)
    [junit] 	at org.mortbay.jetty.servlet.AbstractSessionManager.access$600(AbstractSessionManager.java:62)
    [junit] 	at org.mortbay.jetty.servlet.AbstractSessionManager$SessionScavenger.run(AbstractSessionManager.java:934)
    [junit] 	at org.mortbay.thread.BoundedThreadPool$PoolThread.run(BoundedThreadPool.java:475)
    [junit] 2010-04-24 14:43:36.872::WARN:  EXCEPTION 
    [junit] java.security.AccessControlException: Permission check failed (java.lang.RuntimePermission
setContextClassLoader)
    [junit] 	at java.security.AccessControlContext.checkPermission(AccessControlContext.java:132)
    [junit] 	at java.security.AccessController.checkPermission(AccessController.java:194)
    [junit] 	at java.lang.SecurityManager.checkPermission(SecurityManager.java:862)
    [junit] 	at java.lang.Thread.setContextClassLoader(Thread.java:690)
    [junit] 	at org.mortbay.jetty.servlet.AbstractSessionManager.scavenge(AbstractSessionManager.java:388)
    [junit] 	at org.mortbay.jetty.servlet.AbstractSessionManager.access$600(AbstractSessionManager.java:62)
    [junit] 	at org.mortbay.jetty.servlet.AbstractSessionManager$SessionScavenger.run(AbstractSessionManager.java:934)
    [junit] 	at org.mortbay.thread.BoundedThreadPool$PoolThread.run(BoundedThreadPool.java:475)
    [junit] 2010-04-24 14:44:06.875::WARN:  EXCEPTION 
    [junit] java.security.AccessControlException: Permission check failed (java.lang.RuntimePermission
setContextClassLoader)
    [junit] 	at java.security.AccessControlContext.checkPermission(AccessControlContext.java:132)
    [junit] 	at java.security.AccessController.checkPermission(AccessController.java:194)
    [junit] 	at java.lang.SecurityManager.checkPermission(SecurityManager.java:862)
    [junit] 	at java.lang.Thread.setContextClassLoader(Thread.java:690)
    [junit] 	at org.mortbay.jetty.servlet.AbstractSessionManager.scavenge(AbstractSessionManager.java:388)
    [junit] 	at org.mortbay.jetty.servlet.AbstractSessionManager.access$600(AbstractSessionManager.java:62)
    [junit] 	at org.mortbay.jetty.servlet.AbstractSessionManager$SessionScavenger.run(AbstractSessionManager.java:934)
    [junit] 	at org.mortbay.thread.BoundedThreadPool$PoolThread.run(BoundedThreadPool.java:475)
    [junit] 2010-04-24 14:44:36.881::WARN:  EXCEPTION 
    [junit] java.security.AccessControlException: Permission check failed (java.lang.RuntimePermission
setContextClassLoader)
    [junit] 	at java.security.AccessControlContext.checkPermission(AccessControlContext.java:132)
    [junit] 	at java.security.AccessController.checkPermission(AccessController.java:194)
    [junit] 	at java.lang.SecurityManager.checkPermission(SecurityManager.java:862)
    [junit] 	at java.lang.Thread.setContextClassLoader(Thread.java:690)
    [junit] 	at org.mortbay.jetty.servlet.AbstractSessionManager.scavenge(AbstractSessionManager.java:388)
    [junit] 	at org.mortbay.jetty.servlet.AbstractSessionManager.access$600(AbstractSessionManager.java:62)
    [junit] 	at org.mortbay.jetty.servlet.AbstractSessionManager$SessionScavenger.run(AbstractSessionManager.java:934)
    [junit] 	at org.mortbay.thread.BoundedThreadPool$PoolThread.run(BoundedThreadPool.java:475)
    [junit] 2010-04-24 14:45:06.884::WARN:  EXCEPTION 
    [junit] java.security.AccessControlException: Permission check failed (java.lang.RuntimePermission
setContextClassLoader)
    [junit] 	at java.security.AccessControlContext.checkPermission(AccessControlContext.java:132)
    [junit] 	at java.security.AccessController.checkPermission(AccessController.java:194)
    [junit] 	at java.lang.SecurityManager.checkPermission(SecurityManager.java:862)
    [junit] 	at java.lang.Thread.setContextClassLoader(Thread.java:690)
    [junit] 	at org.mortbay.jetty.servlet.AbstractSessionManager.scavenge(AbstractSessionManager.java:388)
    [junit] 	at org.mortbay.jetty.servlet.AbstractSessionManager.access$600(AbstractSessionManager.java:62)
    [junit] 	at org.mortbay.jetty.servlet.AbstractSessionManager$SessionScavenger.run(AbstractSessionManager.java:934)
    [junit] 	at org.mortbay.thread.BoundedThreadPool$PoolThread.run(BoundedThreadPool.java:475)
    [junit] 2010-04-24 14:45:36.888::WARN:  EXCEPTION 
    [junit] java.security.AccessControlException: Permission check failed (java.lang.RuntimePermission
setContextClassLoader)
    [junit] 	at java.security.AccessControlContext.checkPermission(AccessControlContext.java:132)
    [junit] 	at java.security.AccessController.checkPermission(AccessController.java:194)
    [junit] 	at java.lang.SecurityManager.checkPermission(SecurityManager.java:862)
    [junit] 	at java.lang.Thread.setContextClassLoader(Thread.java:690)
    [junit] 	at org.mortbay.jetty.servlet.AbstractSessionManager.scavenge(AbstractSessionManager.java:388)
    [junit] 	at org.mortbay.jetty.servlet.AbstractSessionManager.access$600(AbstractSessionManager.java:62)
    [junit] 	at org.mortbay.jetty.servlet.AbstractSessionManager$SessionScavenger.run(AbstractSessionManager.java:934)
    [junit] 	at org.mortbay.thread.BoundedThreadPool$PoolThread.run(BoundedThreadPool.java:475)


> [classlib][luni] ObjectOutputStream.writeObject throws AccessControlException when suppressAccessChecks
not granted
> -------------------------------------------------------------------------------------------------------------------
>
>                 Key: HARMONY-6503
>                 URL: https://issues.apache.org/jira/browse/HARMONY-6503
>             Project: Harmony
>          Issue Type: Bug
>          Components: Classlib
>            Reporter: Catherine Hope
>            Priority: Minor
>         Attachments: 6503.patch
>
>
> Calling java.io.ObjectOutputStream.writeObject(ObjectOutputStream)  with a security manager
installed and the policy has not granted java.lang.reflect.ReflectPermission suppressAccessChecks
throws a java.security.AccessControlException.  
> java.security.AccessControlException: Access denied (java.lang.reflect.ReflectPermission
suppressAccessChecks)
> 	at java.security.AccessController.checkPermission(AccessController.java:95)
> 	at java.lang.SecurityManager.checkPermission(SecurityManager.java:862)
> 	at java.lang.reflect.AccessibleObject.setAccessible(AccessibleObject.java:103)
> 	at java.io.ObjectStreamClass.findPrivateMethod(ObjectStreamClass.java:1050)
> 	at java.io.ObjectStreamClass.createClassDesc(ObjectStreamClass.java:303)
> 	at java.io.ObjectStreamClass.lookupStreamClass(ObjectStreamClass.java:997)
> 	at java.io.ObjectOutputStream.writeObjectInternal(ObjectOutputStream.java:1696)
> 	at java.io.ObjectOutputStream.writeObject(ObjectOutputStream.java:1639)
> 	at java.io.ObjectOutputStream.writeObject(ObjectOutputStream.java:1603)
> 	at org.apache.harmony.luni.tests.java.io.ObjectOutputStreamTest.test_writeObjectWithSecurityManager(ObjectOutputStreamTest.java:1406)
> This does not occur on the RI.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


Mime
View raw message