-
Bug
-
Resolution: Fixed
-
P4
-
5.0, 6, 7, 8
-
b08
-
generic
-
generic
-
Not verified
Issue | Fix Version | Assignee | Priority | Status | Resolution | Resolved In Build |
---|---|---|---|---|---|---|
JDK-8336068 | 8u431 | Shivangi Gupta | P4 | Resolved | Fixed | b02 |
Testsuite name: Regression
Test name: closed/com/sun/rowset/internal/xmlreadercontenthandler/InvalidTypeTest.java
JDK tested: 7u55 b12
OS tested: All
The test tries to write to readonly testbase ("test.src" property) and fails.
Tests should not write to testbase, the should write to tmp dir!
LOG:
java.io.FileNotFoundException: /export/local/aurora/CommonData/j2se_rest/test/closed/com/sun/rowset/internal/xmlreadercontenthandler/MyRS.ser (Permission denied)
at java.io.FileOutputStream.open(Native Method)
at java.io.FileOutputStream.<init>(FileOutputStream.java:221)
at java.io.FileOutputStream.<init>(FileOutputStream.java:110)
at InvalidTypeTest.writeRS(InvalidTypeTest.java:275)
at InvalidTypeTest.main(InvalidTypeTest.java:47)
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:606)
at com.sun.javatest.regtest.MainWrapper$MainThread.run(MainWrapper.java:94)
at java.lang.Thread.run(Thread.java:745)
Test name: closed/com/sun/rowset/internal/xmlreadercontenthandler/InvalidTypeTest.java
JDK tested: 7u55 b12
OS tested: All
The test tries to write to readonly testbase ("test.src" property) and fails.
Tests should not write to testbase, the should write to tmp dir!
LOG:
java.io.FileNotFoundException: /export/local/aurora/CommonData/j2se_rest/test/closed/com/sun/rowset/internal/xmlreadercontenthandler/MyRS.ser (Permission denied)
at java.io.FileOutputStream.open(Native Method)
at java.io.FileOutputStream.<init>(FileOutputStream.java:221)
at java.io.FileOutputStream.<init>(FileOutputStream.java:110)
at InvalidTypeTest.writeRS(InvalidTypeTest.java:275)
at InvalidTypeTest.main(InvalidTypeTest.java:47)
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:606)
at com.sun.javatest.regtest.MainWrapper$MainThread.run(MainWrapper.java:94)
at java.lang.Thread.run(Thread.java:745)
- backported by
-
JDK-8336068 TEST_BUG: test closed/com/sun/rowset/internal/xmlreadercontenthandler/InvalidTypeTest.java should not write to testbase
- Resolved
- relates to
-
JDK-8058480 test/closed/com/sun/rowset/internal/xmlreadercontenthandler/InvalidTypeTest.java should not write to testbase
- Closed