This is the mail archive of the java-prs@gcc.gnu.org mailing list for the Java project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug tree-optimization/17587] [4.0 regression] Mauve's UnicodeBase.java fails to compile


------- 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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]