langtools/test/tools/javac/FloatingPointChanges/BadConstructorModifiers.java
changeset 863 3113c955a388
parent 10 06bc494ca11e
child 6150 d055fa8ced62
equal deleted inserted replaced
862:44f1d401c8f5 863:3113c955a388
     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) { }