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

[macos] JInternalFrame/8160248/JInternalFrameDraggingTest.java Background color is wrong

XMLWordPrintable

    • 15
    • x86
    • os_x

      ADDITIONAL SYSTEM INFORMATION :
      $ uname -a
      Darwin unit-929.local 19.4.0 Darwin Kernel Version 19.4.0: Wed Mar 4 22:28:40 PST 2020; root:xnu-6153.101.6~15/RELEASE_X86_64 x86_64

      A DESCRIPTION OF THE PROBLEM :
      The test javax/swing/JInternalFrame/8160248/JInternalFrameDraggingTest.java fails on macOS 10.15.4 with the message Background color is wrong!

      STEPS TO FOLLOW TO REPRODUCE THE PROBLEM :
      $ jtreg -v -a -testjdk:jdk-15-ea+17_osx-x64/Contents/Home test/jdk/javax/swing/JInternalFrame/8160248/JInternalFrameDraggingTest.java

      EXPECTED VERSUS ACTUAL BEHAVIOR :
      EXPECTED -
      Test passes
      ACTUAL -
      #section:main
      ----------messages:(5/293)----------
      command: main -Dsun.java2d.uiScale=1.2 JInternalFrameDraggingTest
      reason: User specified action: run main/othervm -Dsun.java2d.uiScale=1.2 JInternalFrameDraggingTest
      Mode: othervm [/othervm specified]
      Additional options from @modules: --add-modules java.desktop
      elapsed time (seconds): 3.042
      ----------configuration:(3/40)----------
      Boot Layer
        add modules: java.desktop

      ----------System.out:(1/51)----------
      i 1 rgbCW ffffc900 testRGB ffffc800 rgbCH ffffc900
      ----------System.err:(13/846)----------
      java.lang.RuntimeException: Background color is wrong!
      at JInternalFrameDraggingTest.main(JInternalFrameDraggingTest.java:80)
      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:564)
      at com.sun.javatest.regtest.agent.MainWrapper$MainThread.run(MainWrapper.java:127)
      at java.base/java.lang.Thread.run(Thread.java:832)

      JavaTest Message: Test threw exception: java.lang.RuntimeException: Background color is wrong!
      JavaTest Message: shutting down test

      STATUS:Failed.`main' threw exception: java.lang.RuntimeException: Background color is wrong!


      ---------- BEGIN SOURCE ----------
      http://hg.openjdk.java.net/jdk/jdk/file/801bd63c32f2/test/jdk/javax/swing/JInternalFrame/8160248/JInternalFrameDraggingTest.java
      ---------- END SOURCE ----------

      FREQUENCY : always


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

              Created:
              Updated:
              Resolved: