langtools/test/tools/javac/FloatingPointChanges/BadConstructorModifiers.java
author ysuenaga
Wed, 30 Mar 2016 21:05:13 +0900
changeset 37218 c7241bc368bf
parent 6150 d055fa8ced62
permissions -rw-r--r--
8151674: STW phases at Concurrent GC should count in PerfCounter Reviewed-by: jmasa, sla, tschatzl

/*
 * @test  /nodynamiccopyright/
 * @bug 4153038 4785453
 * @summary strictfp may not be used with constructors
 * @author David Stoutamire (dps)
 *
 * @compile/fail/ref=BadConstructorModifiers.out -XDrawDiagnostics BadConstructorModifiers.java
 */

public class BadConstructorModifiers {

    strictfp BadConstructorModifiers (double abra) { }

}