Hide Forgot
+++ This bug was initially created as a clone of Bug #1126489 +++ The JRE java.util.Calendar object in its readObject requires the permission accessClassInPackage.sun.util.calendar which causes Marshalling to fail. http://bugs.java.com/bugdatabase/view_bug.do?bug_id=4921945 java.security.AccessControlException: access denied ("java.io.SerializablePermission" "enableSubclassImplementation") at java.security.AccessControlContext.checkPermission(AccessControlContext.java:372) [rt.jar:1.7.0_51] at java.security.AccessController.checkPermission(AccessController.java:559) [rt.jar:1.7.0_51] at java.lang.SecurityManager.checkPermission(SecurityManager.java:549) [rt.jar:1.7.0_51] at java.io.ObjectInputStream.<init>(ObjectInputStream.java:322) [rt.jar:1.7.0_51] at org.jboss.marshalling.MarshallerObjectInputStream.<init>(MarshallerObjectInputStream.java:49) at org.jboss.marshalling.cloner.SerializingCloner$StepObjectInputStream.<init>(SerializingCloner.java:583) at org.jboss.marshalling.cloner.SerializingCloner.initSerializableClone(SerializingCloner.java:307) --- Additional comment from JBoss JIRA Server on 2014-08-04 12:04:46 EDT --- David Lloyd <david.lloyd> updated the status of jira JBMAR-165 to Resolved
Verified with EAP 6.3.1.
Created attachment 933649 [details] reproducer I have a stripped down version of ClusterBench that I used to verify this. I'm attaching it together with simple repro instructions for future convenience.