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

demo/jfc/J2Ddemo/J2DdemoTest.java fails

    Details

    • Type: Bug
    • Status: Open
    • Priority: P4
    • Resolution: Unresolved
    • Affects Version/s: 12, 13, 14
    • Fix Version/s: tbd
    • Component/s: client-libs
    • Labels:
      None
    • Subcomponent:
    • CPU:
      generic
    • OS:
      generic

      Description

      demo/jfc/J2Ddemo/J2DdemoTest.java fails because it doesnt find J2Ddemo.jar file from normal builds. I have seen failures in Win 7 & 10 but it should be generic issue.

      Only if extract test_demos part of JDK or have local built jdk using make images it will have demo folder and it will run.

      Have to analyze whether we need to add any @requires tag in jtreg or should not run when test doesnt find demo.jar

      Failure :

      Error: Unable to access jarfile d:\\Softwares\\Dev\\JDK12\\client-nightly\\jdk-12\\demo/jfc/J2Ddemo/J2Ddemo.jar
      Exit code is 1
      <beginning of Error Stream buffer>
      Error: Unable to access jarfile d:\\Softwares\\Dev\\JDK12\\client-nightly\\jdk-12\\demo/jfc/J2Ddemo/J2Ddemo.jar

      <end of buffer>
      <beginning of Input Stream buffer>

      <end of buffer>
      ----------System.err:(14/969)----------
      java.lang.RuntimeException: Test failed - exit return code non-zero (exitStatus==1)
      at J2DdemoTest$DemoRun.runit(J2DdemoTest.java:187)
      at J2DdemoTest.main(J2DdemoTest.java:43)
      at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
      at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      at java.base/java.lang.reflect.Method.invoke(Method.java:566)
      at com.sun.javatest.regtest.agent.MainWrapper$MainThread.run(MainWrapper.java:115)
      at java.base/java.lang.Thread.run(Thread.java:835)

        Attachments

          Activity

            People

            • Assignee:
              jdv Jayathirth D V
              Reporter:
              jdv Jayathirth D V
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated: