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

java/awt/Frame/DecoratedFrameInsets: Insets are wrong (KDE)

XMLWordPrintable

    • x86_64
    • linux_ubuntu

      ADDITIONAL SYSTEM INFORMATION :
      java version "11.0.1" 2018-10-16 LTS
      Java(TM) SE Runtime Environment 18.9 (build 11.0.1+13-LTS)
      Java HotSpot(TM) 64-Bit Server VM 18.9 (build 11.0.1+13-LTS, mixed mode)

      $ uname -a
      Linux unit-959 4.15.0-38-generic #41-Ubuntu SMP Wed Oct 10 10:59:38 UTC 2018 x86_64 x86_64 x86_64 GNU/Linux

      A DESCRIPTION OF THE PROBLEM :
      java/awt/Frame/DecoratedFrameInsets/DecoratedFrameInsetsTest.java fails in KUbuntu (with KDE) with the message Insets are wrong java.awt.Insets[top=49,left=0,bottom=0,right=0].
      Please note the test passes in Ubuntu with Gnome.

      REGRESSION : Last worked in version 11.0.1

      STEPS TO FOLLOW TO REPRODUCE THE PROBLEM :
      $ jtreg -ignore:quiet -v -a -xml -testjdk:/usr/lib/jvm/java-11-oracle -javaoptions:-Djava.awt.headless=false -timeoutFactor:2 test/java/awt/Frame/DecoratedFrameInsets/DecoratedFrameInsetsTest.java

      ACTUAL -
      #section:main
      ----------messages:(4/149)----------
      command: main DecoratedFrameInsetsTest
      reason: User specified action: run main DecoratedFrameInsetsTest
      Mode: othervm
      elapsed time (seconds): 1.435
      ----------configuration:(0/0)----------
      ----------System.out:(3/212)----------
      Normal state insets: java.awt.Insets[top=49,left=8,bottom=8,right=8]
      State 6 insets: java.awt.Insets[top=49,left=0,bottom=0,right=0]
      State 6 back to normal insets: java.awt.Insets[top=49,left=0,bottom=0,right=0]
      ----------System.err:(14/1029)----------
      java.lang.RuntimeException: Insets are wrong java.awt.Insets[top=49,left=0,bottom=0,right=0]
      at DecoratedFrameInsetsTest.testState(DecoratedFrameInsetsTest.java:77)
      at DecoratedFrameInsetsTest.main(DecoratedFrameInsetsTest.java:41)
      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:834)

      JavaTest Message: Test threw exception: java.lang.RuntimeException: Insets are wrong java.awt.Insets[top=49,left=0,bottom=0,right=0]
      JavaTest Message: shutting down test

      STATUS:Failed.`main' threw exception: java.lang.RuntimeException: Insets are wrong java.awt.Insets[top=49,left=0,bottom=0,right=0]


      ---------- BEGIN SOURCE ----------
      http://hg.openjdk.java.net/jdk/jdk11/file/1ddf9a99e4ad/test/jdk/java/awt/Frame/DecoratedFrameInsets/DecoratedFrameInsetsTest.java
      ---------- END SOURCE ----------

      FREQUENCY : always


            Unassigned Unassigned
            webbuggrp Webbug Group
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

              Created:
              Updated: