The following program, when run with -esa, throws an assertion error.
According to spec it should throw MissingFormatArgumentException.
class B {
public static void main(String[] args) {
System.out.printf("%9999999999$g%n", 12.0);
}
}
According to spec it should throw MissingFormatArgumentException.
class B {
public static void main(String[] args) {
System.out.printf("%9999999999$g%n", 12.0);
}
}