src/share/classes/com/sun/tools/javac/jvm/Gen.java

changeset 1555
762d0af062f5
parent 1521
71f35e4b93a5
child 1670
29c6984a1673
     1.1 --- a/src/share/classes/com/sun/tools/javac/jvm/Gen.java	Thu Feb 07 20:47:06 2013 -0800
     1.2 +++ b/src/share/classes/com/sun/tools/javac/jvm/Gen.java	Fri Feb 08 09:12:37 2013 +0000
     1.3 @@ -513,7 +513,8 @@
     1.4          // that contains them as its body.
     1.5          if (clinitCode.length() != 0) {
     1.6              MethodSymbol clinit = new MethodSymbol(
     1.7 -                STATIC, names.clinit,
     1.8 +                STATIC | (c.flags() & STRICTFP),
     1.9 +                names.clinit,
    1.10                  new MethodType(
    1.11                      List.<Type>nil(), syms.voidType,
    1.12                      List.<Type>nil(), syms.methodClass),

mercurial