[ 
https://issues.apache.org/jira/browse/DERBY-6865?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15134226#comment-15134226
 ] 

Knut Anders Hatlen commented on DERBY-6865:
-------------------------------------------

The problem seems to be that the FilePermissionServiceImpl class is not 
included in derby.jar anymore. It is only included if the vmLevelIsAtLeast1.7 
property is true, but that property is not set anymore.

> RestrictiveFilePermissionsTest fails on Windows
> -----------------------------------------------
>
>                 Key: DERBY-6865
>                 URL: https://issues.apache.org/jira/browse/DERBY-6865
>             Project: Derby
>          Issue Type: Bug
>          Components: Test
>    Affects Versions: 10.13.0.0
>         Environment: Windows 10
> JDK 8u71
> Derby trunk revision 1728459
>            Reporter: Knut Anders Hatlen
>            Assignee: Knut Anders Hatlen
>
> {noformat}
> .F.F.F.F.F.F.F.F.F.F.F.F.F..
> Time: 48,93
> There were 13 failures:
> 1) 
> testBackupRestoreFiles(org.apache.derbyTesting.functionTests.tests.engine.RestrictiveFilePermissionsTest)junit.framework.AssertionFailedError:
>  unexpected uid \OPPRETTER EIER can access file 
> C:\cygwin64\tmp\derbytst\system\RFPT_backup
>       at 
> org.apache.derbyTesting.functionTests.tests.engine.RestrictiveFilePermissionsTest$2.run(RestrictiveFilePermissionsTest.java:758)
>       at 
> org.apache.derbyTesting.functionTests.tests.engine.RestrictiveFilePermissionsTest$2.run(RestrictiveFilePermissionsTest.java:597)
>       at java.security.AccessController.doPrivileged(Native Method)
>       at 
> org.apache.derbyTesting.functionTests.tests.engine.RestrictiveFilePermissionsTest.checkAccessToOwner(RestrictiveFilePermissionsTest.java:597)
>       at 
> org.apache.derbyTesting.functionTests.tests.engine.RestrictiveFilePermissionsTest.checkAccessToOwner(RestrictiveFilePermissionsTest.java:582)
>       at 
> org.apache.derbyTesting.functionTests.tests.engine.RestrictiveFilePermissionsTest.testBackupRestoreFiles(RestrictiveFilePermissionsTest.java:372)
>       at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>       at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
>       at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
>       at 
> org.apache.derbyTesting.junit.BaseTestCase.runBare(BaseTestCase.java:120)
>       at 
> org.apache.derbyTesting.junit.BaseJDBCTestCase.runBareOverridable(BaseJDBCTestCase.java:443)
>       at 
> org.apache.derbyTesting.junit.BaseJDBCTestCase.runBare(BaseJDBCTestCase.java:460)
>       at junit.extensions.TestDecorator.basicRun(TestDecorator.java:23)
>       at junit.extensions.TestSetup$1.protect(TestSetup.java:23)
>       at junit.extensions.TestSetup.run(TestSetup.java:27)
>       at junit.extensions.TestDecorator.basicRun(TestDecorator.java:23)
>       at junit.extensions.TestSetup$1.protect(TestSetup.java:23)
>       at junit.extensions.TestSetup.run(TestSetup.java:27)
>       at 
> org.apache.derbyTesting.junit.BaseTestSetup.run(BaseTestSetup.java:58)
>       at junit.extensions.TestDecorator.basicRun(TestDecorator.java:23)
>       at junit.extensions.TestSetup$1.protect(TestSetup.java:23)
>       at junit.extensions.TestSetup.run(TestSetup.java:27)
>       at junit.extensions.TestDecorator.basicRun(TestDecorator.java:23)
>       at junit.extensions.TestSetup$1.protect(TestSetup.java:23)
>       at junit.extensions.TestSetup.run(TestSetup.java:27)
> {noformat}



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to