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

JFrame/8016356: got [r=0,g=0,b=0] instead of [r=0,g=255,b=0]

XMLWordPrintable

      FULL PRODUCT VERSION :
      JDK under test: C:\\Program Files\\Java\\jdk1.8.0_112
      java version "1.8.0_112"
      Java(TM) SE Runtime Environment (build 1.8.0_112-b15)
      Java HotSpot(TM) 64-Bit Server VM (build 25.112-b15, mixed mode)

      ADDITIONAL OS VERSION INFORMATION :
      Microsoft Windows [Version 10.0.10240]

      A DESCRIPTION OF THE PROBLEM :
      The test javax/swing/JFrame/8016356/bug8016356.java fails on Windows with the message "java.lang.RuntimeException: TEST FAILED: got java.awt.Color[r=0,g=0,b=0] instead of java.awt.Color[r=0,g=255,b=0]"
      This issue was not observed on Linux, OSX.

      STEPS TO FOLLOW TO REPRODUCE THE PROBLEM :
      jtreg -v -a -xml -testjdk:C\:/Program\ Files/Java/jdk1.8.0_112/ -javaoptions:-Djava.awt.headless=false -timeoutFactor:2 javax/swing/


      ERROR MESSAGES/STACK TRACES THAT OCCUR :
      #section:main
      ----------messages:(4/125)----------
      command: main bug8016356
      reason: User specified action: run main bug8016356
      Mode: othervm
      elapsed time (seconds): 3.694
      ----------configuration:(0/0)----------
      ----------System.out:(0/0)----------
      ----------System.err:(13/927)----------
      java.lang.RuntimeException: TEST FAILED: got java.awt.Color[r=0,g=0,b=0] instead of java.awt.Color[r=0,g=255,b=0]
      at bug8016356.main(bug8016356.java:96)
      at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      at java.lang.reflect.Method.invoke(Method.java:498)
      at com.sun.javatest.regtest.agent.MainWrapper$MainThread.run(MainWrapper.java:110)
      at java.lang.Thread.run(Thread.java:745)

      JavaTest Message: Test threw exception: java.lang.RuntimeException: TEST FAILED: got java.awt.Color[r=0,g=0,b=0] instead of java.awt.Color[r=0,g=255,b=0]
      JavaTest Message: shutting down test

      STATUS:Failed.`main' threw exception: java.lang.RuntimeException: TEST FAILED: got java.awt.Color[r=0,g=0,b=0] instead of java.awt.Color[r=0,g=255,b=0]


      REPRODUCIBILITY :
      This bug can be reproduced always.

      ---------- BEGIN SOURCE ----------
      The test is from Regression test suite (jtreg)
      http://hg.openjdk.java.net/jdk8u/jdk8u/jdk/file/8b04ee324a1a/test/javax/swing/JFrame/8016356/bug8016356.java
      ---------- END SOURCE ----------

            psadhukhan Prasanta Sadhukhan
            webbuggrp Webbug Group
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

              Created:
              Updated:
              Resolved: