jdk/test/java/beans/PropertyEditor/TestEnumSubclassJava.java
changeset 31448 1066345d2a8a
parent 5506 202f599c92aa
equal deleted inserted replaced
31447:a5d56b872e3a 31448:1066345d2a8a
     1 /*
     1 /*
     2  * Copyright (c) 2008, Oracle and/or its affiliates. All rights reserved.
     2  * Copyright (c) 2008, 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 6736248
    26  * @bug 6736248
    27  * @summary Tests PropertyEditor for value of subtype Enum
    27  * @summary Tests PropertyEditor for value of subtype Enum
    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 TestEnumSubclassJava {
    34 public class TestEnumSubclassJava {
    32     public static void main(String[] args) {
    35     public static void main(String[] args) {
    33         new TestEditor(Operation.class).testJava(Operation.PLUS);
    36         new TestEditor(Operation.class).testJava(Operation.PLUS);