Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8037564

TEST_BUG: test closed/com/sun/rowset/internal/xmlreadercontenthandler/InvalidTypeTest.java should not write to testbase

XMLWordPrintable

    • b08
    • generic
    • generic
    • Not verified

        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)

              lancea Lance Andersen
              kshefov Konstantin Shefov
              Votes:
              0 Vote for this issue
              Watchers:
              7 Start watching this issue

                Created:
                Updated:
                Resolved: