db-derby-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Rick Hillegas (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (DERBY-6091) SystemPrivilegesPermissionTest fails on JDK 8 EA
Date Mon, 25 Feb 2013 19:10:13 GMT

     [ https://issues.apache.org/jira/browse/DERBY-6091?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Rick Hillegas updated DERBY-6091:
---------------------------------

    Urgency: Blocker

Raising the urgency to a Blocker for the 10.10.1 release. I'd like to see a clean test run
on Open JDK 8 before we produce a release.
                
> SystemPrivilegesPermissionTest fails on JDK 8 EA
> ------------------------------------------------
>
>                 Key: DERBY-6091
>                 URL: https://issues.apache.org/jira/browse/DERBY-6091
>             Project: Derby
>          Issue Type: Bug
>          Components: Test
>    Affects Versions: 10.10.0.0
>         Environment: 1.8.0-ea-b77
>            Reporter: Knut Anders Hatlen
>         Attachments: AccessDenied.java
>
>
> When using an early access build of JDK 8, I see the following failure in SystemPrivilegesPermissionTest:
> java.security.AccessControlException: access denied ("org.apache.derby.security.DatabasePermission"
"directory:dir" "create")
> 	at java.security.AccessControlContext.checkPermission(AccessControlContext.java:364)
> 	at java.security.AccessController.checkPermission(AccessController.java:560)
> 	at org.apache.derbyTesting.unitTests.junit.SystemPrivilegesPermissionTest$CreateDatabaseAction.run(SystemPrivilegesPermissionTest.java:714)
> 	at java.security.AccessController.doPrivileged(Native Method)
> 	at javax.security.auth.Subject.doAsPrivileged(Subject.java:474)
> 	at org.apache.derbyTesting.unitTests.junit.SystemPrivilegesPermissionTest$RunAsPrivilegedUserAction.run(SystemPrivilegesPermissionTest.java:788)
> 	at java.security.AccessController.doPrivileged(Native Method)
> 	at org.apache.derbyTesting.unitTests.junit.SystemPrivilegesPermissionTest.execute(SystemPrivilegesPermissionTest.java:566)
> 	at org.apache.derbyTesting.unitTests.junit.SystemPrivilegesPermissionTest.policyTestDatabasePermissionGrants(SystemPrivilegesPermissionTest.java:550)
> 	at org.apache.derbyTesting.junit.BaseTestCase.runBare(BaseTestCase.java:117)
> 	at junit.extensions.TestDecorator.basicRun(TestDecorator.java:24)
> 	at junit.extensions.TestSetup$1.protect(TestSetup.java:23)
> 	at junit.extensions.TestSetup.run(TestSetup.java:27)

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Mime
View raw message