test/tools/javac/defaultMethods/TestNoBridgeOnDefaults.java

changeset 2020
bb7271e64ef6
parent 1546
2480aec9a3f1
child 2525
2eb010b6cb22
equal deleted inserted replaced
2019:77d395862700 2020:bb7271e64ef6
1 /* 1 /*
2 * Copyright (c) 2011, Oracle and/or its affiliates. All rights reserved. 2 * Copyright (c) 2011, 2013, 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.
21 * questions. 21 * questions.
22 */ 22 */
23 23
24 /* 24 /*
25 * @test 25 * @test
26 * @bug 7192246
26 * @summary check that javac does not generate bridge methods for defaults 27 * @summary check that javac does not generate bridge methods for defaults
27 */ 28 */
28 29
29 import com.sun.tools.classfile.ClassFile; 30 import com.sun.tools.classfile.ClassFile;
30 import com.sun.tools.classfile.ConstantPool.*; 31 import com.sun.tools.classfile.ConstantPool.*;

mercurial