TestStringClassNull.java revision 12278:6fb5ee377870
112657Skvn/*
212657Skvn * Copyright (c) 2006, 2015, Oracle and/or its affiliates. All rights reserved.
312657Skvn * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
412657Skvn *
512657Skvn * This code is free software; you can redistribute it and/or modify it
612657Skvn * under the terms of the GNU General Public License version 2 only, as
712657Skvn * published by the Free Software Foundation.
812657Skvn *
912657Skvn * This code is distributed in the hope that it will be useful, but WITHOUT
1012657Skvn * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
1112657Skvn * FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License
1212657Skvn * version 2 for more details (a copy is included in the LICENSE file that
1312657Skvn * accompanied this code).
1412657Skvn *
1512657Skvn * You should have received a copy of the GNU General Public License version
1612657Skvn * 2 along with this work; if not, write to the Free Software Foundation,
1712657Skvn * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
1812657Skvn *
1912657Skvn * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
2012657Skvn * or visit www.oracle.com if you need additional information or have any
2112657Skvn * questions.
2212657Skvn */
2312657Skvn
2412657Skvn/*
2512657Skvn * @test
2612657Skvn * @bug 4506596 6457659 6498171
2712657Skvn * @summary Tests PropertyEditor for null value of type String
2812657Skvn * @author Sergey Malenkov
2912657Skvn * @modules java.compiler
3012657Skvn *          java.desktop
3112657Skvn *          jdk.compiler
3212657Skvn */
3312657Skvn
3412657Skvnpublic class TestStringClassNull {
3513175Siveresov    public static void main(String[] args) {
3613175Siveresov        new TestEditor(String.class).testJava(null);
3713175Siveresov    }
3812968Siveresov}
3912968Siveresov