equal
deleted
inserted
replaced
1 /* |
1 /* |
2 * Copyright (c) 2013, 2015, Oracle and/or its affiliates. All rights reserved. |
2 * Copyright (c) 2013, 2016, 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 8006582 |
26 * @bug 8006582 |
27 * @summary javac should generate method parameters correctly. |
27 * @summary javac should generate method parameters correctly. |
28 * @modules jdk.jdeps/com.sun.tools.classfile |
28 * @modules jdk.jdeps/com.sun.tools.classfile |
29 * @build Tester |
29 * @build MethodParametersTester |
30 * @compile -parameters StaticMethods.java |
30 * @compile -parameters StaticMethods.java |
31 * @run main Tester StaticMethods StaticMethods.out |
31 * @run main MethodParametersTester StaticMethods StaticMethods.out |
32 */ |
32 */ |
33 |
33 |
34 public class StaticMethods { |
34 public class StaticMethods { |
35 static public void empty() {} |
35 static public void empty() {} |
36 static final void def(Object a, final Object ba, final String... cba) { } |
36 static final void def(Object a, final Object ba, final String... cba) { } |