[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Bug classpath/42605] New: missing output with formatted string
From: |
debian-gcc at lists dot debian dot org |
Subject: |
[Bug classpath/42605] New: missing output with formatted string |
Date: |
4 Jan 2010 11:59:36 -0000 |
[forwarded from http://bugs.debian.org/489478]
different output with gij and openjdk6
Matthias
$ javac -source 1.5 Build.java
$ cat Build.java
import java.util.Locale;
import java.util.Formatter;
public class Build {
public static void main(String args[]) {
StringBuilder sb = new StringBuilder();
Formatter formatter = new Formatter(sb, Locale.US);
formatter.format("PI = %12.10f", Math.PI);
System.out.println(formatter);
}
}
$ gij Build
PI =
$ /usr/lib/jvm/java-6-openjdk/bin/java Build
PI = 3.1415926536
--
Summary: missing output with formatted string
Product: classpath
Version: 0.98
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: classpath
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: debian-gcc at lists dot debian dot org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=42605
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Bug classpath/42605] New: missing output with formatted string,
debian-gcc at lists dot debian dot org <=