This is the mail archive of the
java-prs@gcc.gnu.org
mailing list for the Java project.
[Bug tree-optimization/17587] [4.0 regression] Mauve's UnicodeBase.java fails to compile
- From: "pinskia at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: java-prs at gcc dot gnu dot org
- Date: 21 Sep 2004 19:54:15 -0000
- Subject: [Bug tree-optimization/17587] [4.0 regression] Mauve's UnicodeBase.java fails to compile
- References: <20040921160732.17587.tromey@gcc.gnu.org>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Additional Comments From pinskia at gcc dot gnu dot org 2004-09-21 19:54 -------
Here it is a little further without the depency on another class file:
import java.io.*;
public abstract class UnicodeBase
{
public char[] chars = new char[0x10000];
public String stringChar(int ch)
{
return "";
}
public void performTests()
{
for (int x = 0; x <= 0xffff; x++)
{
char i = (char) x;
char cs = (chars[i] != 0 ? chars[i] : i);
if (Character.toLowerCase(i) != cs)
stringChar(cs);
}
}
}
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=17587