United StatesChange Country, Oracle Worldwide Web Sites Communities I am a... I want to...
Bug ID: 7109085 [macosx] Test use hotkeys not intended for Mac
7109085 : [macosx] Test use hotkeys not intended for Mac

Details
Type:
Bug
Submit Date:
2011-11-07
Status:
Closed
Updated Date:
2012-07-16
Project Name:
JDK
Resolved Date:
2012-07-16
Component:
client-libs
OS:
os_x
Sub-Component:
javax.swing
CPU:
generic
Priority:
P3
Resolution:
Fixed
Affected Versions:
7
Fixed Versions:
8

Related Reports
Backport:

Sub Tasks

Description
Closed test closed/javax/swing/text/html/HTMLEditorKit/5043626/bug5043626.java 
use hotkey Ctrl+Home for navigating to start of document, but on Mac OS X for this need used hotkey cmd+UP.

this problem reproduce only with Aqua L&F. With Metal L&F hotkey Ctrl+Home work correctly.

                                    

Comments
EVALUATION

The tests should be corrected. There is an useful class OSInfo, which can be used in tests to determine OS (MacOS should be added into OSInfo then)
                                     
2011-11-08



Hardware and Software, Engineered to Work Together