#Test Results (version 2) #Tue Oct 30 10:39:32 IST 2018 #-----testdescription----- $file=/export/myclient/client/open/test/jdk/javax/swing/GraphicsConfigNotifier/StalePreferredSize.java $root=/export/myclient/client/open/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\:/export/myclient/client/open/test/jdk/javax/swing/GraphicsConfigNotifier/StalePreferredSize.java elapsed=26207 0\:00\:26.207 end=Tue Oct 30 10\:39\:32 IST 2018 environment=regtest execStatus=Failed. Execution failed\: `main' threw exception\: java.lang.reflect.InvocationTargetException harnessLoaderMode=Classpath Loader harnessVariety=Full Bundle hostname=dhcp-10-177-157-137.in.oracle.com javatestOS=Mac OS X 10.13.3 (x86_64) javatestVersion=6.0 jtregVersion=jtreg 4.2 dev 460 modules=java.desktop script=com.sun.javatest.regtest.exec.RegressionScript sections=script_messages compile build main start=Tue Oct 30 10\:39\:06 IST 2018 test=javax/swing/GraphicsConfigNotifier/StalePreferredSize.java testJDK=/export/myclient/client/build/macosx-x86_64-server-release/images/jdk totalTime=26214 user.name=pit work=/export/myclient/client/open/test/jdk/JTwork/javax/swing/GraphicsConfigNotifier #section:script_messages ----------messages:(4/285)---------- JDK under test: /export/myclient/client/build/macosx-x86_64-server-release/images/jdk java version "12-internal" 2019-03-19 Java(TM) SE Runtime Environment (build 12-internal+0-adhoc.pit.open) Java HotSpot(TM) 64-Bit Server VM (build 12-internal+0-adhoc.pit.open, mixed mode, sharing) #section:compile ----------messages:(5/319)---------- command: compile -encoding utf-8 /export/myclient/client/open/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.327 ----------configuration:(6/359)---------- javac compilation environment add modules: java.desktop source path: /export/myclient/client/open/test/jdk/javax/swing/GraphicsConfigNotifier class path: /export/myclient/client/open/test/jdk/javax/swing/GraphicsConfigNotifier /export/myclient/client/open/test/jdk/JTwork/classes/javax/swing/GraphicsConfigNotifier/StalePreferredSize.d ----------rerun:(18/1210)*---------- cd /export/myclient/client/open/test/jdk/JTwork/scratch && \\ HOME=/Users/pit \\ LANG=en_US.UTF-8 \\ PATH=/bin:/usr/bin \\ /export/myclient/client/build/macosx-x86_64-server-release/images/jdk/bin/javac \\ -J-Dtest.src=/export/myclient/client/open/test/jdk/javax/swing/GraphicsConfigNotifier \\ -J-Dtest.src.path=/export/myclient/client/open/test/jdk/javax/swing/GraphicsConfigNotifier \\ -J-Dtest.classes=/export/myclient/client/open/test/jdk/JTwork/classes/javax/swing/GraphicsConfigNotifier/StalePreferredSize.d \\ -J-Dtest.class.path=/export/myclient/client/open/test/jdk/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=/export/myclient/client/build/macosx-x86_64-server-release/images/jdk \\ -J-Dcompile.jdk=/export/myclient/client/build/macosx-x86_64-server-release/images/jdk \\ -J-Dtest.timeout.factor=1.0 \\ -J-Dtest.modules=java.desktop \\ @/export/myclient/client/open/test/jdk/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/101)---------- command: build StalePreferredSize reason: Named class compiled on demand elapsed time (seconds): 0.0 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): 24.744 ----------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,277x27,invalid,alignmentX=0.0,alignmentY=0.5,border=javax.swing.plaf.synth.SynthBorder@1b4745df,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=249,height=15] After: java.awt.Dimension[width=277,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:(20/1542)*---------- cd /export/myclient/client/open/test/jdk/JTwork/scratch && \\ HOME=/Users/pit \\ LANG=en_US.UTF-8 \\ PATH=/bin:/usr/bin \\ CLASSPATH=/export/myclient/client/open/test/jdk/JTwork/classes/javax/swing/GraphicsConfigNotifier/StalePreferredSize.d:/export/myclient/client/open/test/jdk/javax/swing/GraphicsConfigNotifier:/export/clientsyncws/jtreg/lib/javatest.jar:/export/clientsyncws/jtreg/lib/jtreg.jar \\ /export/myclient/client/build/macosx-x86_64-server-release/images/jdk/bin/java \\ -Dtest.src=/export/myclient/client/open/test/jdk/javax/swing/GraphicsConfigNotifier \\ -Dtest.src.path=/export/myclient/client/open/test/jdk/javax/swing/GraphicsConfigNotifier \\ -Dtest.classes=/export/myclient/client/open/test/jdk/JTwork/classes/javax/swing/GraphicsConfigNotifier/StalePreferredSize.d \\ -Dtest.class.path=/export/myclient/client/open/test/jdk/JTwork/classes/javax/swing/GraphicsConfigNotifier/StalePreferredSize.d \\ -Dtest.vm.opts= \\ -Dtest.tool.vm.opts= \\ -Dtest.compiler.opts= \\ -Dtest.java.opts= \\ -Dtest.jdk=/export/myclient/client/build/macosx-x86_64-server-release/images/jdk \\ -Dcompile.jdk=/export/myclient/client/build/macosx-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 /export/myclient/client/open/test/jdk/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