equal
deleted
inserted
replaced
1 /* |
1 /* |
2 * Copyright (c) 2012, Oracle and/or its affiliates. All rights reserved. |
2 * Copyright (c) 2012, 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. |
26 * @bug 7185778 |
26 * @bug 7185778 |
27 * @summary javah error "Not a valid class name" on class names with dollar signs |
27 * @summary javah error "Not a valid class name" on class names with dollar signs |
28 * The first two tests are on an inner class name whose name does not contain $. |
28 * The first two tests are on an inner class name whose name does not contain $. |
29 * The second two tests are on an inner class name whose name does contain $. |
29 * The second two tests are on an inner class name whose name does contain $. |
30 * The last test is on an outer class whose name contains $. |
30 * The last test is on an outer class whose name contains $. |
|
31 * @modules jdk.compiler |
31 * @run main T7185778 T7185778$inner |
32 * @run main T7185778 T7185778$inner |
32 * @run main T7185778 T7185778.inner |
33 * @run main T7185778 T7185778.inner |
33 * @run main T7185778 T7185778$inner$ |
34 * @run main T7185778 T7185778$inner$ |
34 * @run main T7185778 T7185778.inner$ |
35 * @run main T7185778 T7185778.inner$ |
35 * @run main T7185778 xx$yy |
36 * @run main T7185778 xx$yy |