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

demo/jfc/J2Ddemo/J2DdemoTest.java fails

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: P4 P4
    • tbd
    • 11, 12, 13, 14, 17, 19, 21, 22, 23
    • client-libs
    • None
    • generic
    • generic

      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)

            jdv Jayathirth D V
            jdv Jayathirth D V
            Votes:
            0 Vote for this issue
            Watchers:
            6 Start watching this issue

              Created:
              Updated: