===============================================================================
Regression test suite for Mantis b06.
http://meercat.sfbay:8080/shuna/i18n_regression/script/mantis/build06_11072002/
Test case : java/lang/String/Euro.java
JDK: Mantis b06
OS : Windows 2000 Pro. ja, Windows XP Pro. ja, win98 2nd ja
==============================================================================
Regressoin test Euro.java is failed on Windows ja due to Euro symbol conversion failure and throws Exception as follow;
-----------------------------------------------------------
java.lang.RuntimeException: Euro symbol conversion failure.
at Euro.main(Euro.java:16)^M
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)^M
at java.lang.reflect.Method.invoke(Method.java:324)
at com.sun.javatest.regtest.MainWrapper$MainThread.run(MainWrapper.java:94)
at java.lang.Thread.run(Thread.java:536)
-----------------------------------------------------------
* Please see attached file(Euro.jtr) for detail.
* During Hopper, this test case was not included in our Test shell.
Therefore, this is the first time on Windows ja with Mantis.
* I also confirmed that this problem is reproducible with Hopper fcs on the same machine.
* This problem does not occur on Solaris(ja_JP.euc), RedHat Linux7.2(eucJP) using Mantis.
But, looking at a part of header in Euro.java, it seems that this test case is only for windows.
---------
Euro.java
---------
/**
* @test 1.1 98/09/02
* @bug 4165621
* @summary Test the conversion of the Euro symbol on win32
*/
import java.io.*;
public class Euro {
public static void main(String[] args) throws Exception {
if (File.separatorChar == '\\') {
byte[] theEuroBytes = new byte[10];
String theEuroString = new String("\u20AC");
theEuroString = new String(theEuroString.getBytes());
if (!theEuroString.equals("\u20AC"))
throw new RuntimeException("Euro symbol conversion failure.");
}
}
}
As Euro.java is under java/lang dir, I filed Category/Subcategry as a java/classes_lang.
If these are not properly, please change them.
[###@###.### 2002-11-08]
Regression test suite for Mantis b06.
http://meercat.sfbay:8080/shuna/i18n_regression/script/mantis/build06_11072002/
Test case : java/lang/String/Euro.java
JDK: Mantis b06
OS : Windows 2000 Pro. ja, Windows XP Pro. ja, win98 2nd ja
==============================================================================
Regressoin test Euro.java is failed on Windows ja due to Euro symbol conversion failure and throws Exception as follow;
-----------------------------------------------------------
java.lang.RuntimeException: Euro symbol conversion failure.
at Euro.main(Euro.java:16)^M
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)^M
at java.lang.reflect.Method.invoke(Method.java:324)
at com.sun.javatest.regtest.MainWrapper$MainThread.run(MainWrapper.java:94)
at java.lang.Thread.run(Thread.java:536)
-----------------------------------------------------------
* Please see attached file(Euro.jtr) for detail.
* During Hopper, this test case was not included in our Test shell.
Therefore, this is the first time on Windows ja with Mantis.
* I also confirmed that this problem is reproducible with Hopper fcs on the same machine.
* This problem does not occur on Solaris(ja_JP.euc), RedHat Linux7.2(eucJP) using Mantis.
But, looking at a part of header in Euro.java, it seems that this test case is only for windows.
---------
Euro.java
---------
/**
* @test 1.1 98/09/02
* @bug 4165621
* @summary Test the conversion of the Euro symbol on win32
*/
import java.io.*;
public class Euro {
public static void main(String[] args) throws Exception {
if (File.separatorChar == '\\') {
byte[] theEuroBytes = new byte[10];
String theEuroString = new String("\u20AC");
theEuroString = new String(theEuroString.getBytes());
if (!theEuroString.equals("\u20AC"))
throw new RuntimeException("Euro symbol conversion failure.");
}
}
}
As Euro.java is under java/lang dir, I filed Category/Subcategry as a java/classes_lang.
If these are not properly, please change them.
[###@###.### 2002-11-08]