Proof that it's invalid:
--------------------------- foo.java ---------------------------
public class foo {
public static void main(String[] args) {
System.out.println(String.format("%.f\n", 3.
1415926535));
}
}
----------------------------------------------------------------
* gettext-tools/tests/format-java-printf-1: Add a test case with null precision.
"abc%y"
# Invalid: flags after width
"abc%2#d"
+# Invalid: null precision
+"abc%.f"
# Invalid: twice precision
"abc%.4.2g"
# Valid: three arguments