equal
deleted
inserted
replaced
2 * @test /nodynamiccopyright/ |
2 * @test /nodynamiccopyright/ |
3 * @bug 4153038 4785453 |
3 * @bug 4153038 4785453 |
4 * @summary strictfp may not be used with constructors |
4 * @summary strictfp may not be used with constructors |
5 * @author David Stoutamire (dps) |
5 * @author David Stoutamire (dps) |
6 * |
6 * |
7 * @run shell BadConstructorModifiers.sh |
7 * @compile/fail/ref=BadConstructorModifiers.out -XDrawDiagnostics -XDstdout BadConstructorModifiers.java |
8 */ |
8 */ |
9 |
9 |
10 public class BadConstructorModifiers { |
10 public class BadConstructorModifiers { |
11 |
11 |
12 strictfp BadConstructorModifiers (double abra) { } |
12 strictfp BadConstructorModifiers (double abra) { } |