equal
deleted
inserted
replaced
1 /* |
1 /* |
2 * Copyright (c) 2002, 2012, Oracle and/or its affiliates. All rights reserved. |
2 * Copyright (c) 2002, 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 8000518 |
26 * @bug 8000518 |
27 * @summary Javac generates duplicate name_and_type constant pool entry for |
27 * @summary Javac generates duplicate name_and_type constant pool entry for |
28 * class BinaryOpValueExp.java |
28 * class BinaryOpValueExp.java |
|
29 * @modules jdk.compiler/com.sun.tools.classfile |
29 * @run main DuplicateConstantPoolEntry |
30 * @run main DuplicateConstantPoolEntry |
30 */ |
31 */ |
31 |
32 |
32 import com.sun.source.util.JavacTask; |
33 import com.sun.source.util.JavacTask; |
33 import com.sun.tools.classfile.ClassFile; |
34 import com.sun.tools.classfile.ClassFile; |