#Test Results (version 2) #Fri Nov 09 01:15:05 IST 2018 #-----testdescription----- $file=/home/pbansal/Workspace/client/test/jdk/javax/swing/GraphicsConfigNotifier/StalePreferredSize.java $root=/home/pbansal/Workspace/client/test/jdk keywords=bug8201552 headful othervm maxTimeout=200 modules=java.desktop run=USER_SPECIFIED compile -encoding utf-8 StalePreferredSize.java\nUSER_SPECIFIED main/othervm/timeout\=200 StalePreferredSize\nUSER_SPECIFIED main/othervm/timeout\=200 -Dsun.java2d.uiScale\=1 StalePreferredSize\nUSER_SPECIFIED main/othervm/timeout\=200 -Dsun.java2d.uiScale\=2.25 StalePreferredSize\n source=StalePreferredSize.java title=Initial layout of the component should use correct graphics config. #-----environment----- #-----testresult----- description=file\:/home/pbansal/Workspace/client/test/jdk/javax/swing/GraphicsConfigNotifier/StalePreferredSize.java elapsed=17143 0\:00\:17.143 end=Fri Nov 09 01\:15\:05 IST 2018 environment=regtest execStatus=Failed. Execution failed\: `main' threw exception\: java.lang.reflect.InvocationTargetException harnessLoaderMode=Classpath Loader harnessVariety=Full Bundle hostname=pbansal-VirtualBox javatestOS=Linux 4.15.0-36-generic (amd64) javatestVersion=6.0 jtregVersion=jtreg 4.2 dev 472 modules=java.desktop script=com.sun.javatest.regtest.exec.RegressionScript sections=script_messages compile build main start=Fri Nov 09 01\:14\:48 IST 2018 test=javax/swing/GraphicsConfigNotifier/StalePreferredSize.java testJDK=/home/pbansal/Workspace/client/build/linux-x86_64-server-release/images/jdk totalTime=17148 user.name=pbansal work=/home/pbansal/Workspace/client/JTwork/javax/swing/GraphicsConfigNotifier #section:script_messages ----------messages:(4/293)---------- JDK under test: /home/pbansal/Workspace/client/build/linux-x86_64-server-release/images/jdk openjdk version "12-internal" 2019-03-19 OpenJDK Runtime Environment (build 12-internal+0-adhoc.pbansal.client) OpenJDK 64-Bit Server VM (build 12-internal+0-adhoc.pbansal.client, mixed mode, sharing) #section:compile ----------messages:(5/321)---------- command: compile -encoding utf-8 /home/pbansal/Workspace/client/test/jdk/javax/swing/GraphicsConfigNotifier/StalePreferredSize.java reason: User specified action: run compile -encoding utf-8 StalePreferredSize.java Additional options from @modules: --add-modules java.desktop Mode: othervm elapsed time (seconds): 1.342 ----------configuration:(6/356)---------- javac compilation environment add modules: java.desktop source path: /home/pbansal/Workspace/client/test/jdk/javax/swing/GraphicsConfigNotifier class path: /home/pbansal/Workspace/client/test/jdk/javax/swing/GraphicsConfigNotifier /home/pbansal/Workspace/client/JTwork/classes/javax/swing/GraphicsConfigNotifier/StalePreferredSize.d ----------rerun:(21/1285)*---------- cd /home/pbansal/Workspace/client/JTwork/scratch && \\ DISPLAY=:0 \\ GNOME_DESKTOP_SESSION_ID=this-is-deprecated \\ HOME=/home/pbansal \\ LANG=en_IN \\ PATH=/bin:/usr/bin \\ XMODIFIERS=@im=ibus \\ /home/pbansal/Workspace/client/build/linux-x86_64-server-release/images/jdk/bin/javac \\ -J-Dtest.src=/home/pbansal/Workspace/client/test/jdk/javax/swing/GraphicsConfigNotifier \\ -J-Dtest.src.path=/home/pbansal/Workspace/client/test/jdk/javax/swing/GraphicsConfigNotifier \\ -J-Dtest.classes=/home/pbansal/Workspace/client/JTwork/classes/javax/swing/GraphicsConfigNotifier/StalePreferredSize.d \\ -J-Dtest.class.path=/home/pbansal/Workspace/client/JTwork/classes/javax/swing/GraphicsConfigNotifier/StalePreferredSize.d \\ -J-Dtest.vm.opts= \\ -J-Dtest.tool.vm.opts= \\ -J-Dtest.compiler.opts= \\ -J-Dtest.java.opts= \\ -J-Dtest.jdk=/home/pbansal/Workspace/client/build/linux-x86_64-server-release/images/jdk \\ -J-Dcompile.jdk=/home/pbansal/Workspace/client/build/linux-x86_64-server-release/images/jdk \\ -J-Dtest.timeout.factor=1.0 \\ -J-Dtest.modules=java.desktop \\ @/home/pbansal/Workspace/client/JTwork/javax/swing/GraphicsConfigNotifier/StalePreferredSize.d/compile.0.jta ----------System.out:(0/0)---------- ----------System.err:(0/0)---------- result: Passed. Compilation successful #section:build ----------messages:(3/103)---------- command: build StalePreferredSize reason: Named class compiled on demand elapsed time (seconds): 0.002 result: Passed. All files up to date #section:main ----------messages:(5/240)---------- command: main StalePreferredSize reason: User specified action: run main/othervm/timeout=200 StalePreferredSize Mode: othervm [/othervm specified] Additional options from @modules: --add-modules java.desktop elapsed time (seconds): 15.698 ----------configuration:(3/40)---------- Boot Layer add modules: java.desktop ----------System.out:(0/0)---------- ----------System.err:(79/8053)*---------- LookAndFeel: javax.swing.plaf.metal.MetalLookAndFeel typeFont = 0 text = A few words to get started before the bugoverlapping text text = A quick brown fox jumps over the lazy dog text = El veloz murci\u00e9lago hind\u00fa com\u00eda feliz cardillo y kiwi. La cig\u00fce\u00f1a tocaba el saxof\u00f3n detr\u00e1s del palenque de paja text = Voix ambigu\u00eb d\u2019un c\u0153ur qui au z\u00e9phyr pr\u00e9f\u00e8re les jattes de kiwis text = \ub2e4\ub78c\uc950 \ud5cc \uccc7\ubc14\ud034\uc5d0 \ud0c0\uace0\ud30c text = \u0421\u044a\u0435\u0448\u044c \u0435\u0449\u0451 \u044d\u0442\u0438\u0445 \u043c\u044f\u0433\u043a\u0438\u0445 \u0444\u0440\u0430\u043d\u0446\u0443\u0437\u0441\u043a\u0438\u0445 \u0431\u0443\u043b\u043e\u043a \u0434\u0430 \u0432\u044b\u043f\u0435\u0439 \u0436\u0435 \u0447\u0430\u044e text = A few words to get started before the bugoverlapping text text = A quick brown fox jumps over the lazy dog text = El veloz murci\u00e9lago hind\u00fa com\u00eda feliz cardillo y kiwi. La cig\u00fce\u00f1a tocaba el saxof\u00f3n detr\u00e1s del palenque de paja text = Voix ambigu\u00eb d\u2019un c\u0153ur qui au z\u00e9phyr pr\u00e9f\u00e8re les jattes de kiwis text = \ub2e4\ub78c\uc950 \ud5cc \uccc7\ubc14\ud034\uc5d0 \ud0c0\uace0\ud30c text = \u0421\u044a\u0435\u0448\u044c \u0435\u0449\u0451 \u044d\u0442\u0438\u0445 \u043c\u044f\u0433\u043a\u0438\u0445 \u0444\u0440\u0430\u043d\u0446\u0443\u0437\u0441\u043a\u0438\u0445 \u0431\u0443\u043b\u043e\u043a \u0434\u0430 \u0432\u044b\u043f\u0435\u0439 \u0436\u0435 \u0447\u0430\u044e typeFont = 1 text = A few words to get started before the bugoverlapping text text = A quick brown fox jumps over the lazy dog text = El veloz murci\u00e9lago hind\u00fa com\u00eda feliz cardillo y kiwi. La cig\u00fce\u00f1a tocaba el saxof\u00f3n detr\u00e1s del palenque de paja text = Voix ambigu\u00eb d\u2019un c\u0153ur qui au z\u00e9phyr pr\u00e9f\u00e8re les jattes de kiwis text = \ub2e4\ub78c\uc950 \ud5cc \uccc7\ubc14\ud034\uc5d0 \ud0c0\uace0\ud30c text = \u0421\u044a\u0435\u0448\u044c \u0435\u0449\u0451 \u044d\u0442\u0438\u0445 \u043c\u044f\u0433\u043a\u0438\u0445 \u0444\u0440\u0430\u043d\u0446\u0443\u0437\u0441\u043a\u0438\u0445 \u0431\u0443\u043b\u043e\u043a \u0434\u0430 \u0432\u044b\u043f\u0435\u0439 \u0436\u0435 \u0447\u0430\u044e text = A few words to get started before the bugoverlapping text text = A quick brown fox jumps over the lazy dog text = El veloz murci\u00e9lago hind\u00fa com\u00eda feliz cardillo y kiwi. La cig\u00fce\u00f1a tocaba el saxof\u00f3n detr\u00e1s del palenque de paja text = Voix ambigu\u00eb d\u2019un c\u0153ur qui au z\u00e9phyr pr\u00e9f\u00e8re les jattes de kiwis text = \ub2e4\ub78c\uc950 \ud5cc \uccc7\ubc14\ud034\uc5d0 \ud0c0\uace0\ud30c text = \u0421\u044a\u0435\u0448\u044c \u0435\u0449\u0451 \u044d\u0442\u0438\u0445 \u043c\u044f\u0433\u043a\u0438\u0445 \u0444\u0440\u0430\u043d\u0446\u0443\u0437\u0441\u043a\u0438\u0445 \u0431\u0443\u043b\u043e\u043a \u0434\u0430 \u0432\u044b\u043f\u0435\u0439 \u0436\u0435 \u0447\u0430\u044e typeFont = 2 text = A few words to get started before the bugoverlapping text text = A quick brown fox jumps over the lazy dog text = El veloz murci\u00e9lago hind\u00fa com\u00eda feliz cardillo y kiwi. La cig\u00fce\u00f1a tocaba el saxof\u00f3n detr\u00e1s del palenque de paja text = Voix ambigu\u00eb d\u2019un c\u0153ur qui au z\u00e9phyr pr\u00e9f\u00e8re les jattes de kiwis text = \ub2e4\ub78c\uc950 \ud5cc \uccc7\ubc14\ud034\uc5d0 \ud0c0\uace0\ud30c text = \u0421\u044a\u0435\u0448\u044c \u0435\u0449\u0451 \u044d\u0442\u0438\u0445 \u043c\u044f\u0433\u043a\u0438\u0445 \u0444\u0440\u0430\u043d\u0446\u0443\u0437\u0441\u043a\u0438\u0445 \u0431\u0443\u043b\u043e\u043a \u0434\u0430 \u0432\u044b\u043f\u0435\u0439 \u0436\u0435 \u0447\u0430\u044e text = A few words to get started before the bugoverlapping text text = A quick brown fox jumps over the lazy dog text = El veloz murci\u00e9lago hind\u00fa com\u00eda feliz cardillo y kiwi. La cig\u00fce\u00f1a tocaba el saxof\u00f3n detr\u00e1s del palenque de paja text = Voix ambigu\u00eb d\u2019un c\u0153ur qui au z\u00e9phyr pr\u00e9f\u00e8re les jattes de kiwis text = \ub2e4\ub78c\uc950 \ud5cc \uccc7\ubc14\ud034\uc5d0 \ud0c0\uace0\ud30c text = \u0421\u044a\u0435\u0448\u044c \u0435\u0449\u0451 \u044d\u0442\u0438\u0445 \u043c\u044f\u0433\u043a\u0438\u0445 \u0444\u0440\u0430\u043d\u0446\u0443\u0437\u0441\u043a\u0438\u0445 \u0431\u0443\u043b\u043e\u043a \u0434\u0430 \u0432\u044b\u043f\u0435\u0439 \u0436\u0435 \u0447\u0430\u044e LookAndFeel: javax.swing.plaf.nimbus.NimbusLookAndFeel typeFont = 0 text = A few words to get started before the bugoverlapping text text = A quick brown fox jumps over the lazy dog Component: javax.swing.JButton[,0,0,286x27,invalid,alignmentX=0.0,alignmentY=0.5,border=javax.swing.plaf.synth.SynthBorder@64a77d8e,flags=288,maximumSize=,minimumSize=,preferredSize=,defaultIcon=,disabledIcon=,disabledSelectedIcon=,margin=javax.swing.plaf.InsetsUIResource[top=0,left=0,bottom=0,right=0],paintBorder=true,paintFocus=true,pressedIcon=,rolloverEnabled=true,rolloverIcon=,rolloverSelectedIcon=,selectedIcon=,text=A quick brown fox jumps over the lazy dog,defaultCapable=true] Before: java.awt.Dimension[width=258,height=15] After: java.awt.Dimension[width=286,height=27] java.lang.reflect.InvocationTargetException at java.desktop/java.awt.EventQueue.invokeAndWait(EventQueue.java:1367) at java.desktop/java.awt.EventQueue.invokeAndWait(EventQueue.java:1342) at StalePreferredSize.checkComponent(StalePreferredSize.java:169) at StalePreferredSize.test(StalePreferredSize.java:140) at StalePreferredSize.main(StalePreferredSize.java:98) 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:127) at java.base/java.lang.Thread.run(Thread.java:835) Caused by: java.lang.RuntimeException: Wrong PreferredSize at StalePreferredSize.lambda$checkComponent$18(StalePreferredSize.java:188) at java.desktop/java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:303) at java.desktop/java.awt.EventQueue.dispatchEventImpl(EventQueue.java:770) at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:721) at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:715) at java.base/java.security.AccessController.doPrivileged(Native Method) at java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:85) at java.desktop/java.awt.EventQueue.dispatchEvent(EventQueue.java:740) at java.desktop/java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:203) at java.desktop/java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:124) at java.desktop/java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:113) at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:109) at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101) at java.desktop/java.awt.EventDispatchThread.run(EventDispatchThread.java:90) JavaTest Message: Test threw exception: java.lang.reflect.InvocationTargetException JavaTest Message: shutting down test STATUS:Failed.`main' threw exception: java.lang.reflect.InvocationTargetException ----------rerun:(23/1618)*---------- cd /home/pbansal/Workspace/client/JTwork/scratch && \\ DISPLAY=:0 \\ GNOME_DESKTOP_SESSION_ID=this-is-deprecated \\ HOME=/home/pbansal \\ LANG=en_IN \\ PATH=/bin:/usr/bin \\ XMODIFIERS=@im=ibus \\ CLASSPATH=/home/pbansal/Workspace/client/JTwork/classes/javax/swing/GraphicsConfigNotifier/StalePreferredSize.d:/home/pbansal/Workspace/client/test/jdk/javax/swing/GraphicsConfigNotifier:/home/pbansal/Workspace/jtreg/lib/javatest.jar:/home/pbansal/Workspace/jtreg/lib/jtreg.jar \\ /home/pbansal/Workspace/client/build/linux-x86_64-server-release/images/jdk/bin/java \\ -Dtest.src=/home/pbansal/Workspace/client/test/jdk/javax/swing/GraphicsConfigNotifier \\ -Dtest.src.path=/home/pbansal/Workspace/client/test/jdk/javax/swing/GraphicsConfigNotifier \\ -Dtest.classes=/home/pbansal/Workspace/client/JTwork/classes/javax/swing/GraphicsConfigNotifier/StalePreferredSize.d \\ -Dtest.class.path=/home/pbansal/Workspace/client/JTwork/classes/javax/swing/GraphicsConfigNotifier/StalePreferredSize.d \\ -Dtest.vm.opts= \\ -Dtest.tool.vm.opts= \\ -Dtest.compiler.opts= \\ -Dtest.java.opts= \\ -Dtest.jdk=/home/pbansal/Workspace/client/build/linux-x86_64-server-release/images/jdk \\ -Dcompile.jdk=/home/pbansal/Workspace/client/build/linux-x86_64-server-release/images/jdk \\ -Dtest.timeout.factor=1.0 \\ -Dtest.modules=java.desktop \\ --add-modules java.desktop \\ com.sun.javatest.regtest.agent.MainWrapper /home/pbansal/Workspace/client/JTwork/javax/swing/GraphicsConfigNotifier/StalePreferredSize.d/main.1.jta result: Failed. Execution failed: `main' threw exception: java.lang.reflect.InvocationTargetException test result: Failed. Execution failed: `main' threw exception: java.lang.reflect.InvocationTargetException