JDK-8015588 : [TEST_BUG] [macosx] Test java/awt/MenuBar/MenuBarSetFont/MenuBarSetFont.java fails on MacOSX
  • Type: Bug
  • Component: client-libs
  • Sub-Component: java.awt
  • Affected Version: 8
  • Priority: P4
  • Status: Closed
  • Resolution: Fixed
  • OS: os_x
  • CPU: generic
  • Submitted: 2013-05-29
  • Updated: 2014-10-15
  • Resolved: 2013-09-16
The Version table provides details related to the release that this issue/RFE will be addressed.

Unresolved : Release in which this issue/RFE will be addressed.
Resolved: Release in which this issue/RFE has been resolved.
Fixed : Release in which this issue/RFE has been fixed. The release containing this fix may be available for download as an Early Access Release or a General Availability Release.

To download the current JDK release, click here.
JDK 8
8 b110Fixed
Description
Testsuite name: Regression 
Test name: java/awt/MenuBar/MenuBarSetFont/MenuBarSetFont.java
JDK tested: 8b91 
OS tested: MacOSX 
Is it a regression: No 

Test fails against JDK 8 all builds

LOG:

#section:main
----------messages:(3/115)----------
command: main MenuBarSetFont
reason: User specified action: run main MenuBarSetFont 
elapsed time (seconds): 4.183
----------System.out:(0/0)----------
----------System.err:(14/770)----------
java.lang.RuntimeException: Font was not changed
	at MenuBarSetFont.fail(MenuBarSetFont.java:127)
	at MenuBarSetFont.main(MenuBarSetFont.java:114)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
	at java.lang.reflect.Method.invoke(Method.java:491)
	at com.sun.javatest.regtest.MainWrapper$MainThread.run(MainWrapper.java:96)
	at java.lang.Thread.run(Thread.java:724)

JavaTest Message: Test threw exception: java.lang.RuntimeException: Font was not changed
JavaTest Message: shutting down test

STATUS:Failed.`main' threw exception: java.lang.RuntimeException: Font was not changed
result: Failed. Execution failed: `main' threw exception: java.lang.RuntimeException: Font was not changed


test result: Failed. Execution failed: `main' threw exception: java.lang.RuntimeException: Font was not changed
Comments
java/awt/MenuBar/MenuBarSetFont/MenuBarSetFont.java PASSED under JDK 8 b132 on MacOS, Linux, Solaris, Windows. Closed issue as Fixed/Verified.
10-03-2014

http://cr.openjdk.java.net/~kshefov/8015588/webrev.00
13-09-2013

this is the bug in test
05-08-2013

Menu.setFont() is not supported on OSX
05-08-2013