jdk/test/java/beans/PropertyEditor/TestShortClassJava.java
changeset 31448 1066345d2a8a
parent 5506 202f599c92aa
equal deleted inserted replaced
31447:a5d56b872e3a 31448:1066345d2a8a
     1 /*
     1 /*
     2  * Copyright (c) 2006, 2007, Oracle and/or its affiliates. All rights reserved.
     2  * Copyright (c) 2006, 2015, Oracle and/or its affiliates. All rights reserved.
     3  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
     3  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
     4  *
     4  *
     5  * This code is free software; you can redistribute it and/or modify it
     5  * This code is free software; you can redistribute it and/or modify it
     6  * under the terms of the GNU General Public License version 2 only, as
     6  * under the terms of the GNU General Public License version 2 only, as
     7  * published by the Free Software Foundation.
     7  * published by the Free Software Foundation.
    24 /*
    24 /*
    25  * @test
    25  * @test
    26  * @bug 4506596
    26  * @bug 4506596
    27  * @summary Tests PropertyEditor for value of type Short
    27  * @summary Tests PropertyEditor for value of type Short
    28  * @author Sergey Malenkov
    28  * @author Sergey Malenkov
       
    29  * @modules java.compiler
       
    30  *          java.desktop
       
    31  *          jdk.compiler
    29  */
    32  */
    30 
    33 
    31 public class TestShortClassJava {
    34 public class TestShortClassJava {
    32     public static void main(String[] args) {
    35     public static void main(String[] args) {
    33         new TestEditor(Short.class).testJava(Short.valueOf((short) 12));
    36         new TestEditor(Short.class).testJava(Short.valueOf((short) 12));