← Back to team overview

openjdk team mailing list archive

[Bug 330713] Re: compiled with -fno-stack-protector and -U_FORTIFY_SOURCE

 

javax/management/remote/mandatory/notif/NotificationBufferDeadlockTest.java
fails with stock local version too:

Testing protocol jmxmp
TEST FAILED: GOT EXCEPTION:
java.security.AccessControlException: access denied (javax.management.MBeanTrustPermission register)
        at java.security.AccessControlContext.checkPermission(AccessControlContext.java:342)
        at java.lang.SecurityManager.checkPermission(SecurityManager.java:585)
        at com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.checkMBeanTrustPermission(DefaultMBeanServerInterceptor.java:1868)
        at com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.registerMBean(DefaultMBeanServerInterceptor.java:328)
        at com.sun.jmx.mbeanserver.JmxMBeanServer.registerMBean(JmxMBeanServer.java:516)
        at NotificationBufferDeadlockTest.test(NotificationBufferDeadlockTest.java:116)
        at NotificationBufferDeadlockTest.main(NotificationBufferDeadlockTest.java:98)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
        at java.lang.reflect.Method.invoke(Method.java:616)
        at com.sun.javatest.regtest.MainAction$SameVMThread.run(MainAction.java:595)
        at java.lang.Thread.run(Thread.java:636)

-- 
compiled with -fno-stack-protector and -U_FORTIFY_SOURCE
https://bugs.launchpad.net/bugs/330713
You received this bug notification because you are a member of OpenJDK,
which is subscribed to openjdk-6 in ubuntu.

Status in “openjdk-6” package in Ubuntu: Triaged

Bug description:
The package should build with security protections enabled.



References