0ae4ceb413
8266399: Core libs update for JEP 306 Reviewed-by: sadayapalam, bpb, naoto
16 lines
487 B
Java
16 lines
487 B
Java
/*
|
|
* @test /nodynamiccopyright/
|
|
* @bug 4153038 4785453 8244146
|
|
* @summary strictfp may not be used with constructors
|
|
* @author David Stoutamire (dps)
|
|
*
|
|
* @compile/fail/ref=BadConstructorModifiers.out -XDrawDiagnostics --release 16 BadConstructorModifiers.java
|
|
* @compile/fail/ref=BadConstructorModifiers.out -XDrawDiagnostics -Xlint:-strictfp BadConstructorModifiers.java
|
|
*/
|
|
|
|
public class BadConstructorModifiers {
|
|
|
|
strictfp BadConstructorModifiers (double abra) { }
|
|
|
|
}
|