equal
deleted
inserted
replaced
1 /* |
1 /* |
2 * Copyright (c) 2013, Oracle and/or its affiliates. All rights reserved. |
2 * Copyright (c) 2013, 2019, 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. |
23 |
23 |
24 /* |
24 /* |
25 * @test |
25 * @test |
26 * @bug 8009299 |
26 * @bug 8009299 |
27 * @summary Javac crashes when compiling method reference to static interface method |
27 * @summary Javac crashes when compiling method reference to static interface method |
28 * @run main/othervm -Xverify:none MethodReference66 |
28 * @run main/othervm MethodReference66 |
29 */ |
29 */ |
30 public class MethodReference66 { |
30 public class MethodReference66 { |
31 |
31 |
32 static int assertionCount = 0; |
32 static int assertionCount = 0; |
33 |
33 |