jdk/test/java/awt/event/KeyEvent/AltCharAcceleratorTest/AltCharAcceleratorTest.java
author anashaty
Tue, 20 Jan 2015 19:26:14 +0300
changeset 28990 2656e19f0cd6
child 29731 33a67f0e4374
permissions -rw-r--r--
8068283: Mac OS Incompatibility between JDK 6 and 8 regarding input method handling Reviewed-by: ant, kizune
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
28990
2656e19f0cd6 8068283: Mac OS Incompatibility between JDK 6 and 8 regarding input method handling
anashaty
parents:
diff changeset
     1
/*
2656e19f0cd6 8068283: Mac OS Incompatibility between JDK 6 and 8 regarding input method handling
anashaty
parents:
diff changeset
     2
 * Copyright (c) 2015, Oracle and/or its affiliates. All rights reserved.
2656e19f0cd6 8068283: Mac OS Incompatibility between JDK 6 and 8 regarding input method handling
anashaty
parents:
diff changeset
     3
 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
2656e19f0cd6 8068283: Mac OS Incompatibility between JDK 6 and 8 regarding input method handling
anashaty
parents:
diff changeset
     4
 *
2656e19f0cd6 8068283: Mac OS Incompatibility between JDK 6 and 8 regarding input method handling
anashaty
parents:
diff changeset
     5
 * This code is free software; you can redistribute it and/or modify it
2656e19f0cd6 8068283: Mac OS Incompatibility between JDK 6 and 8 regarding input method handling
anashaty
parents:
diff changeset
     6
 * under the terms of the GNU General Public License version 2 only, as
2656e19f0cd6 8068283: Mac OS Incompatibility between JDK 6 and 8 regarding input method handling
anashaty
parents:
diff changeset
     7
 * published by the Free Software Foundation.
2656e19f0cd6 8068283: Mac OS Incompatibility between JDK 6 and 8 regarding input method handling
anashaty
parents:
diff changeset
     8
 *
2656e19f0cd6 8068283: Mac OS Incompatibility between JDK 6 and 8 regarding input method handling
anashaty
parents:
diff changeset
     9
 * This code is distributed in the hope that it will be useful, but WITHOUT
2656e19f0cd6 8068283: Mac OS Incompatibility between JDK 6 and 8 regarding input method handling
anashaty
parents:
diff changeset
    10
 * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
2656e19f0cd6 8068283: Mac OS Incompatibility between JDK 6 and 8 regarding input method handling
anashaty
parents:
diff changeset
    11
 * FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License
2656e19f0cd6 8068283: Mac OS Incompatibility between JDK 6 and 8 regarding input method handling
anashaty
parents:
diff changeset
    12
 * version 2 for more details (a copy is included in the LICENSE file that
2656e19f0cd6 8068283: Mac OS Incompatibility between JDK 6 and 8 regarding input method handling
anashaty
parents:
diff changeset
    13
 * accompanied this code).
2656e19f0cd6 8068283: Mac OS Incompatibility between JDK 6 and 8 regarding input method handling
anashaty
parents:
diff changeset
    14
 *
2656e19f0cd6 8068283: Mac OS Incompatibility between JDK 6 and 8 regarding input method handling
anashaty
parents:
diff changeset
    15
 * You should have received a copy of the GNU General Public License version
2656e19f0cd6 8068283: Mac OS Incompatibility between JDK 6 and 8 regarding input method handling
anashaty
parents:
diff changeset
    16
 * 2 along with this work; if not, write to the Free Software Foundation,
2656e19f0cd6 8068283: Mac OS Incompatibility between JDK 6 and 8 regarding input method handling
anashaty
parents:
diff changeset
    17
 * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
2656e19f0cd6 8068283: Mac OS Incompatibility between JDK 6 and 8 regarding input method handling
anashaty
parents:
diff changeset
    18
 *
2656e19f0cd6 8068283: Mac OS Incompatibility between JDK 6 and 8 regarding input method handling
anashaty
parents:
diff changeset
    19
 * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
2656e19f0cd6 8068283: Mac OS Incompatibility between JDK 6 and 8 regarding input method handling
anashaty
parents:
diff changeset
    20
 * or visit www.oracle.com if you need additional information or have any
2656e19f0cd6 8068283: Mac OS Incompatibility between JDK 6 and 8 regarding input method handling
anashaty
parents:
diff changeset
    21
 * questions.
2656e19f0cd6 8068283: Mac OS Incompatibility between JDK 6 and 8 regarding input method handling
anashaty
parents:
diff changeset
    22
 */
2656e19f0cd6 8068283: Mac OS Incompatibility between JDK 6 and 8 regarding input method handling
anashaty
parents:
diff changeset
    23
2656e19f0cd6 8068283: Mac OS Incompatibility between JDK 6 and 8 regarding input method handling
anashaty
parents:
diff changeset
    24
/*
2656e19f0cd6 8068283: Mac OS Incompatibility between JDK 6 and 8 regarding input method handling
anashaty
parents:
diff changeset
    25
@test
2656e19f0cd6 8068283: Mac OS Incompatibility between JDK 6 and 8 regarding input method handling
anashaty
parents:
diff changeset
    26
@bug 8068283
2656e19f0cd6 8068283: Mac OS Incompatibility between JDK 6 and 8 regarding input method handling
anashaty
parents:
diff changeset
    27
@summary Checks that <Alt>+Char accelerators work when pressed in a text component
2656e19f0cd6 8068283: Mac OS Incompatibility between JDK 6 and 8 regarding input method handling
anashaty
parents:
diff changeset
    28
@author Anton Nashatyrev
2656e19f0cd6 8068283: Mac OS Incompatibility between JDK 6 and 8 regarding input method handling
anashaty
parents:
diff changeset
    29
@run main AltCharAcceleratorTest
2656e19f0cd6 8068283: Mac OS Incompatibility between JDK 6 and 8 regarding input method handling
anashaty
parents:
diff changeset
    30
*/
2656e19f0cd6 8068283: Mac OS Incompatibility between JDK 6 and 8 regarding input method handling
anashaty
parents:
diff changeset
    31
2656e19f0cd6 8068283: Mac OS Incompatibility between JDK 6 and 8 regarding input method handling
anashaty
parents:
diff changeset
    32
import sun.awt.SunToolkit;
2656e19f0cd6 8068283: Mac OS Incompatibility between JDK 6 and 8 regarding input method handling
anashaty
parents:
diff changeset
    33
2656e19f0cd6 8068283: Mac OS Incompatibility between JDK 6 and 8 regarding input method handling
anashaty
parents:
diff changeset
    34
import javax.swing.*;
2656e19f0cd6 8068283: Mac OS Incompatibility between JDK 6 and 8 regarding input method handling
anashaty
parents:
diff changeset
    35
import java.awt.*;
2656e19f0cd6 8068283: Mac OS Incompatibility between JDK 6 and 8 regarding input method handling
anashaty
parents:
diff changeset
    36
import java.awt.event.*;
2656e19f0cd6 8068283: Mac OS Incompatibility between JDK 6 and 8 regarding input method handling
anashaty
parents:
diff changeset
    37
import java.util.concurrent.CountDownLatch;
2656e19f0cd6 8068283: Mac OS Incompatibility between JDK 6 and 8 regarding input method handling
anashaty
parents:
diff changeset
    38
import java.util.concurrent.TimeUnit;
2656e19f0cd6 8068283: Mac OS Incompatibility between JDK 6 and 8 regarding input method handling
anashaty
parents:
diff changeset
    39
2656e19f0cd6 8068283: Mac OS Incompatibility between JDK 6 and 8 regarding input method handling
anashaty
parents:
diff changeset
    40
public class AltCharAcceleratorTest {
2656e19f0cd6 8068283: Mac OS Incompatibility between JDK 6 and 8 regarding input method handling
anashaty
parents:
diff changeset
    41
2656e19f0cd6 8068283: Mac OS Incompatibility between JDK 6 and 8 regarding input method handling
anashaty
parents:
diff changeset
    42
    boolean action1 = false;
2656e19f0cd6 8068283: Mac OS Incompatibility between JDK 6 and 8 regarding input method handling
anashaty
parents:
diff changeset
    43
    boolean action2 = false;
2656e19f0cd6 8068283: Mac OS Incompatibility between JDK 6 and 8 regarding input method handling
anashaty
parents:
diff changeset
    44
2656e19f0cd6 8068283: Mac OS Incompatibility between JDK 6 and 8 regarding input method handling
anashaty
parents:
diff changeset
    45
    CountDownLatch focusLatch = new CountDownLatch(1);
2656e19f0cd6 8068283: Mac OS Incompatibility between JDK 6 and 8 regarding input method handling
anashaty
parents:
diff changeset
    46
    CountDownLatch actionLatch = new CountDownLatch(2);
2656e19f0cd6 8068283: Mac OS Incompatibility between JDK 6 and 8 regarding input method handling
anashaty
parents:
diff changeset
    47
2656e19f0cd6 8068283: Mac OS Incompatibility between JDK 6 and 8 regarding input method handling
anashaty
parents:
diff changeset
    48
    public AltCharAcceleratorTest() throws Exception {
2656e19f0cd6 8068283: Mac OS Incompatibility between JDK 6 and 8 regarding input method handling
anashaty
parents:
diff changeset
    49
        SwingUtilities.invokeAndWait(new Runnable() {
2656e19f0cd6 8068283: Mac OS Incompatibility between JDK 6 and 8 regarding input method handling
anashaty
parents:
diff changeset
    50
            @Override
2656e19f0cd6 8068283: Mac OS Incompatibility between JDK 6 and 8 regarding input method handling
anashaty
parents:
diff changeset
    51
            public void run() {
2656e19f0cd6 8068283: Mac OS Incompatibility between JDK 6 and 8 regarding input method handling
anashaty
parents:
diff changeset
    52
                JFrame f = new JFrame("frame");
2656e19f0cd6 8068283: Mac OS Incompatibility between JDK 6 and 8 regarding input method handling
anashaty
parents:
diff changeset
    53
                final JTextField t = new JTextField();
2656e19f0cd6 8068283: Mac OS Incompatibility between JDK 6 and 8 regarding input method handling
anashaty
parents:
diff changeset
    54
                JMenuBar mb = new JMenuBar();
2656e19f0cd6 8068283: Mac OS Incompatibility between JDK 6 and 8 regarding input method handling
anashaty
parents:
diff changeset
    55
                JMenu m1 = new JMenu("File");
2656e19f0cd6 8068283: Mac OS Incompatibility between JDK 6 and 8 regarding input method handling
anashaty
parents:
diff changeset
    56
                JMenuItem i1 = new JMenuItem("Save");
2656e19f0cd6 8068283: Mac OS Incompatibility between JDK 6 and 8 regarding input method handling
anashaty
parents:
diff changeset
    57
                JMenuItem i2 = new JMenuItem("Load");
2656e19f0cd6 8068283: Mac OS Incompatibility between JDK 6 and 8 regarding input method handling
anashaty
parents:
diff changeset
    58
2656e19f0cd6 8068283: Mac OS Incompatibility between JDK 6 and 8 regarding input method handling
anashaty
parents:
diff changeset
    59
                i1.setAccelerator(KeyStroke.getKeyStroke(KeyEvent.VK_T, KeyEvent.ALT_MASK));
2656e19f0cd6 8068283: Mac OS Incompatibility between JDK 6 and 8 regarding input method handling
anashaty
parents:
diff changeset
    60
                i2.setAccelerator(KeyStroke.getKeyStroke(KeyEvent.VK_F, KeyEvent.ALT_MASK));
2656e19f0cd6 8068283: Mac OS Incompatibility between JDK 6 and 8 regarding input method handling
anashaty
parents:
diff changeset
    61
2656e19f0cd6 8068283: Mac OS Incompatibility between JDK 6 and 8 regarding input method handling
anashaty
parents:
diff changeset
    62
                i1.addActionListener(new ActionListener() {
2656e19f0cd6 8068283: Mac OS Incompatibility between JDK 6 and 8 regarding input method handling
anashaty
parents:
diff changeset
    63
                    @Override
2656e19f0cd6 8068283: Mac OS Incompatibility between JDK 6 and 8 regarding input method handling
anashaty
parents:
diff changeset
    64
                    public void actionPerformed(ActionEvent e) {
2656e19f0cd6 8068283: Mac OS Incompatibility between JDK 6 and 8 regarding input method handling
anashaty
parents:
diff changeset
    65
                        System.out.println("Action1!");
2656e19f0cd6 8068283: Mac OS Incompatibility between JDK 6 and 8 regarding input method handling
anashaty
parents:
diff changeset
    66
                        action1 = true;
2656e19f0cd6 8068283: Mac OS Incompatibility between JDK 6 and 8 regarding input method handling
anashaty
parents:
diff changeset
    67
                        actionLatch.countDown();
2656e19f0cd6 8068283: Mac OS Incompatibility between JDK 6 and 8 regarding input method handling
anashaty
parents:
diff changeset
    68
                    }
2656e19f0cd6 8068283: Mac OS Incompatibility between JDK 6 and 8 regarding input method handling
anashaty
parents:
diff changeset
    69
                });
2656e19f0cd6 8068283: Mac OS Incompatibility between JDK 6 and 8 regarding input method handling
anashaty
parents:
diff changeset
    70
2656e19f0cd6 8068283: Mac OS Incompatibility between JDK 6 and 8 regarding input method handling
anashaty
parents:
diff changeset
    71
                i2.addActionListener(new ActionListener() {
2656e19f0cd6 8068283: Mac OS Incompatibility between JDK 6 and 8 regarding input method handling
anashaty
parents:
diff changeset
    72
                    @Override
2656e19f0cd6 8068283: Mac OS Incompatibility between JDK 6 and 8 regarding input method handling
anashaty
parents:
diff changeset
    73
                    public void actionPerformed(ActionEvent e) {
2656e19f0cd6 8068283: Mac OS Incompatibility between JDK 6 and 8 regarding input method handling
anashaty
parents:
diff changeset
    74
                        System.out.println("Action2!");
2656e19f0cd6 8068283: Mac OS Incompatibility between JDK 6 and 8 regarding input method handling
anashaty
parents:
diff changeset
    75
                        action2 = true;
2656e19f0cd6 8068283: Mac OS Incompatibility between JDK 6 and 8 regarding input method handling
anashaty
parents:
diff changeset
    76
                        actionLatch.countDown();
2656e19f0cd6 8068283: Mac OS Incompatibility between JDK 6 and 8 regarding input method handling
anashaty
parents:
diff changeset
    77
                    }
2656e19f0cd6 8068283: Mac OS Incompatibility between JDK 6 and 8 regarding input method handling
anashaty
parents:
diff changeset
    78
                });
2656e19f0cd6 8068283: Mac OS Incompatibility between JDK 6 and 8 regarding input method handling
anashaty
parents:
diff changeset
    79
2656e19f0cd6 8068283: Mac OS Incompatibility between JDK 6 and 8 regarding input method handling
anashaty
parents:
diff changeset
    80
                t.addFocusListener(new FocusAdapter() {
2656e19f0cd6 8068283: Mac OS Incompatibility between JDK 6 and 8 regarding input method handling
anashaty
parents:
diff changeset
    81
                    @Override
2656e19f0cd6 8068283: Mac OS Incompatibility between JDK 6 and 8 regarding input method handling
anashaty
parents:
diff changeset
    82
                    public void focusGained(FocusEvent e) {
2656e19f0cd6 8068283: Mac OS Incompatibility between JDK 6 and 8 regarding input method handling
anashaty
parents:
diff changeset
    83
                        System.out.println("Focused!");
2656e19f0cd6 8068283: Mac OS Incompatibility between JDK 6 and 8 regarding input method handling
anashaty
parents:
diff changeset
    84
                        focusLatch.countDown();
2656e19f0cd6 8068283: Mac OS Incompatibility between JDK 6 and 8 regarding input method handling
anashaty
parents:
diff changeset
    85
                    }
2656e19f0cd6 8068283: Mac OS Incompatibility between JDK 6 and 8 regarding input method handling
anashaty
parents:
diff changeset
    86
                });
2656e19f0cd6 8068283: Mac OS Incompatibility between JDK 6 and 8 regarding input method handling
anashaty
parents:
diff changeset
    87
2656e19f0cd6 8068283: Mac OS Incompatibility between JDK 6 and 8 regarding input method handling
anashaty
parents:
diff changeset
    88
                t.setColumns(10);
2656e19f0cd6 8068283: Mac OS Incompatibility between JDK 6 and 8 regarding input method handling
anashaty
parents:
diff changeset
    89
                t.requestFocusInWindow();
2656e19f0cd6 8068283: Mac OS Incompatibility between JDK 6 and 8 regarding input method handling
anashaty
parents:
diff changeset
    90
2656e19f0cd6 8068283: Mac OS Incompatibility between JDK 6 and 8 regarding input method handling
anashaty
parents:
diff changeset
    91
                f.setJMenuBar(mb);
2656e19f0cd6 8068283: Mac OS Incompatibility between JDK 6 and 8 regarding input method handling
anashaty
parents:
diff changeset
    92
                mb.add(m1);
2656e19f0cd6 8068283: Mac OS Incompatibility between JDK 6 and 8 regarding input method handling
anashaty
parents:
diff changeset
    93
                m1.add(i1);
2656e19f0cd6 8068283: Mac OS Incompatibility between JDK 6 and 8 regarding input method handling
anashaty
parents:
diff changeset
    94
                m1.add(i2);
2656e19f0cd6 8068283: Mac OS Incompatibility between JDK 6 and 8 regarding input method handling
anashaty
parents:
diff changeset
    95
2656e19f0cd6 8068283: Mac OS Incompatibility between JDK 6 and 8 regarding input method handling
anashaty
parents:
diff changeset
    96
                f.setLayout(new FlowLayout());
2656e19f0cd6 8068283: Mac OS Incompatibility between JDK 6 and 8 regarding input method handling
anashaty
parents:
diff changeset
    97
                f.add(t);
2656e19f0cd6 8068283: Mac OS Incompatibility between JDK 6 and 8 regarding input method handling
anashaty
parents:
diff changeset
    98
                f.setSize(200, 200);
2656e19f0cd6 8068283: Mac OS Incompatibility between JDK 6 and 8 regarding input method handling
anashaty
parents:
diff changeset
    99
2656e19f0cd6 8068283: Mac OS Incompatibility between JDK 6 and 8 regarding input method handling
anashaty
parents:
diff changeset
   100
                f.setVisible(true);
2656e19f0cd6 8068283: Mac OS Incompatibility between JDK 6 and 8 regarding input method handling
anashaty
parents:
diff changeset
   101
            }
2656e19f0cd6 8068283: Mac OS Incompatibility between JDK 6 and 8 regarding input method handling
anashaty
parents:
diff changeset
   102
        });
2656e19f0cd6 8068283: Mac OS Incompatibility between JDK 6 and 8 regarding input method handling
anashaty
parents:
diff changeset
   103
    }
2656e19f0cd6 8068283: Mac OS Incompatibility between JDK 6 and 8 regarding input method handling
anashaty
parents:
diff changeset
   104
2656e19f0cd6 8068283: Mac OS Incompatibility between JDK 6 and 8 regarding input method handling
anashaty
parents:
diff changeset
   105
    void test() throws Exception {
2656e19f0cd6 8068283: Mac OS Incompatibility between JDK 6 and 8 regarding input method handling
anashaty
parents:
diff changeset
   106
        ((SunToolkit) Toolkit.getDefaultToolkit()).realSync();
2656e19f0cd6 8068283: Mac OS Incompatibility between JDK 6 and 8 regarding input method handling
anashaty
parents:
diff changeset
   107
2656e19f0cd6 8068283: Mac OS Incompatibility between JDK 6 and 8 regarding input method handling
anashaty
parents:
diff changeset
   108
        focusLatch.await(5, TimeUnit.SECONDS);
2656e19f0cd6 8068283: Mac OS Incompatibility between JDK 6 and 8 regarding input method handling
anashaty
parents:
diff changeset
   109
2656e19f0cd6 8068283: Mac OS Incompatibility between JDK 6 and 8 regarding input method handling
anashaty
parents:
diff changeset
   110
        Robot robot = new Robot();
2656e19f0cd6 8068283: Mac OS Incompatibility between JDK 6 and 8 regarding input method handling
anashaty
parents:
diff changeset
   111
        robot.setAutoDelay(100);
2656e19f0cd6 8068283: Mac OS Incompatibility between JDK 6 and 8 regarding input method handling
anashaty
parents:
diff changeset
   112
2656e19f0cd6 8068283: Mac OS Incompatibility between JDK 6 and 8 regarding input method handling
anashaty
parents:
diff changeset
   113
        robot.keyPress(KeyEvent.VK_ALT);
2656e19f0cd6 8068283: Mac OS Incompatibility between JDK 6 and 8 regarding input method handling
anashaty
parents:
diff changeset
   114
        robot.keyPress(KeyEvent.VK_T);
2656e19f0cd6 8068283: Mac OS Incompatibility between JDK 6 and 8 regarding input method handling
anashaty
parents:
diff changeset
   115
        robot.keyRelease(KeyEvent.VK_T);
2656e19f0cd6 8068283: Mac OS Incompatibility between JDK 6 and 8 regarding input method handling
anashaty
parents:
diff changeset
   116
        robot.keyRelease(KeyEvent.VK_ALT);
2656e19f0cd6 8068283: Mac OS Incompatibility between JDK 6 and 8 regarding input method handling
anashaty
parents:
diff changeset
   117
2656e19f0cd6 8068283: Mac OS Incompatibility between JDK 6 and 8 regarding input method handling
anashaty
parents:
diff changeset
   118
        robot.keyPress(KeyEvent.VK_ALT);
2656e19f0cd6 8068283: Mac OS Incompatibility between JDK 6 and 8 regarding input method handling
anashaty
parents:
diff changeset
   119
        robot.keyPress(KeyEvent.VK_F);
2656e19f0cd6 8068283: Mac OS Incompatibility between JDK 6 and 8 regarding input method handling
anashaty
parents:
diff changeset
   120
        robot.keyRelease(KeyEvent.VK_F);
2656e19f0cd6 8068283: Mac OS Incompatibility between JDK 6 and 8 regarding input method handling
anashaty
parents:
diff changeset
   121
        robot.keyRelease(KeyEvent.VK_ALT);
2656e19f0cd6 8068283: Mac OS Incompatibility between JDK 6 and 8 regarding input method handling
anashaty
parents:
diff changeset
   122
2656e19f0cd6 8068283: Mac OS Incompatibility between JDK 6 and 8 regarding input method handling
anashaty
parents:
diff changeset
   123
        actionLatch.await(5, TimeUnit.SECONDS);
2656e19f0cd6 8068283: Mac OS Incompatibility between JDK 6 and 8 regarding input method handling
anashaty
parents:
diff changeset
   124
2656e19f0cd6 8068283: Mac OS Incompatibility between JDK 6 and 8 regarding input method handling
anashaty
parents:
diff changeset
   125
        if (!action1 || !action2) {
2656e19f0cd6 8068283: Mac OS Incompatibility between JDK 6 and 8 regarding input method handling
anashaty
parents:
diff changeset
   126
            throw new RuntimeException("Actions not performed");
2656e19f0cd6 8068283: Mac OS Incompatibility between JDK 6 and 8 regarding input method handling
anashaty
parents:
diff changeset
   127
        }
2656e19f0cd6 8068283: Mac OS Incompatibility between JDK 6 and 8 regarding input method handling
anashaty
parents:
diff changeset
   128
2656e19f0cd6 8068283: Mac OS Incompatibility between JDK 6 and 8 regarding input method handling
anashaty
parents:
diff changeset
   129
        System.out.println("Passed.");
2656e19f0cd6 8068283: Mac OS Incompatibility between JDK 6 and 8 regarding input method handling
anashaty
parents:
diff changeset
   130
    }
2656e19f0cd6 8068283: Mac OS Incompatibility between JDK 6 and 8 regarding input method handling
anashaty
parents:
diff changeset
   131
2656e19f0cd6 8068283: Mac OS Incompatibility between JDK 6 and 8 regarding input method handling
anashaty
parents:
diff changeset
   132
    public static void main(String[] args) throws Exception {
2656e19f0cd6 8068283: Mac OS Incompatibility between JDK 6 and 8 regarding input method handling
anashaty
parents:
diff changeset
   133
        AltCharAcceleratorTest t = new AltCharAcceleratorTest();
2656e19f0cd6 8068283: Mac OS Incompatibility between JDK 6 and 8 regarding input method handling
anashaty
parents:
diff changeset
   134
        t.test();
2656e19f0cd6 8068283: Mac OS Incompatibility between JDK 6 and 8 regarding input method handling
anashaty
parents:
diff changeset
   135
    }
2656e19f0cd6 8068283: Mac OS Incompatibility between JDK 6 and 8 regarding input method handling
anashaty
parents:
diff changeset
   136
}