equal
deleted
inserted
replaced
1 /* |
1 /* |
2 * Copyright (c) 1997, 2015, Oracle and/or its affiliates. All rights reserved. |
2 * Copyright (c) 1997, 2017, 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. |
25 * @test |
25 * @test |
26 * @bug 4091755 |
26 * @bug 4091755 |
27 * @summary java.lang.Object can't be redefined without crashing javac |
27 * @summary java.lang.Object can't be redefined without crashing javac |
28 * @author gafter |
28 * @author gafter |
29 * |
29 * |
30 * @compile/module=java.base/fail/ref=Object2.out -XDrawDiagnostics Object2.java |
30 * @compile/module=java.base/fail/ref=Object2.out -XDrawDiagnostics java/lang/Object2.java |
31 */ |
31 */ |