This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug libgcj/4485] DecimalFormat not spec compliant
- From: "gccbugz at k1k2 dot com" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 18 Aug 2003 01:00:09 -0000
- Subject: [Bug libgcj/4485] DecimalFormat not spec compliant
- References: <20011005135600.4485.tromey@gcc.gnu.org>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
PLEASE REPLY TO gcc-bugzilla@gcc.gnu.org ONLY, *NOT* gcc-bugs@gcc.gnu.org.
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=4485
------- Additional Comments From gccbugz at k1k2 dot com 2003-08-18 01:00 -------
The following throws an exception coz it doesn't like the '%'
But, of course, it is valid
import java.text.*;
class fail {
public static void main(String[] args) {
DecimalFormat df = new DecimalFormat("##0.00%"); } }