-
Bug
-
Resolution: Duplicate
-
P3
-
None
-
5.0
-
generic
-
generic
Name: mmR10223 Date: 08/21/2003
Filed By : J2SE-SQA [###@###.###
JDK : JDK1.5.0-b15 (also fails JDK1.5.0-b14, JDK1.4.2-b28)
JCK : JCK1.5-runtime
Platform[s] : all
switch/Mode : -enablesystemassertions
JCK test owner : http://javaweb.eng/jck/usr/owners.jto
Falling test[s]: lang/CONV/conv008/conv00802/conv00802.html
This test pass without "-enablesystemassertions" mode using JDK1.5.0-b15, JDK1.4.2-b28.
Test source location:
=====================
/java/re/jck/1.5/promoted/latest/binaries/JCK-runtime-5/tests/lang/CONV/conv008/conv00802/conv00802.java
jtr file location:
==================
/net/jtgb4u4c.sfbay/export/sail15/results.2/tiger/b15/jck15/sparc/sol10_sparc_gnome_client_d64_enablesystemassertions_linux-8/workDir/lang/CONV/conv008/conv00802/conv00802.jtr
How to reproduce:
=================
Run the following script (you may need to change its variables)
--- script start ---
#!/bin/bash
JCK="/net/linux-15/export/home/java/jck1.5/JCK-runtime-15"
JDK="/net/linux-15/export/home/java/jdk1.5.0/sparc"
switches="-enablesystemassertions"
CLASSPATH="$JCK/classes:$JCK/lib/javatest.jar"
$JDK/bin/java $switches -cp $CLASSPATH javasoft.sqe.tests.lang.conv008.conv00802.conv00802
--- script end ---
Test output:
============
1234567890123456789
Exception in thread "main" java.lang.AssertionError: 18
at java.lang.FloatingDecimal.getChars(FloatingDecimal.java:893)
at java.lang.FloatingDecimal.toJavaFormatString(FloatingDecimal.java:888)
at java.lang.Double.toString(Double.java:142)
at java.lang.String.valueOf(String.java:2274)
at java.io.PrintStream.print(PrintStream.java:418)
at java.io.PrintStream.println(PrintStream.java:557)
at javasoft.sqe.tests.lang.conv008.conv00802.conv00802.run(conv00802.java:21)
at javasoft.sqe.tests.lang.conv008.conv00802.conv00802.main(conv00802.java:14)
Specific machine info:
======================
Hostname: linux-8
OS: Solaris 10 (sparc) (GNOME)
Hostname: linux-24
OS: Linux RedHat
Hostname: linux-16
OS: Windows XP
======================================================================