[ forwarded from http://bugs.debian.org/275547 ]
[EMAIL PROTECTED]:/tmp% cat Test.java class Test { public static void main(String[] argv) { for (char i = '\u0001'; i <= '\uffff'; i++) { char[] ca = { i }; System.out.println("Interning "+((int)i)+"th String"); (new String(ca)).intern(); } } } [EMAIL PROTECTED]:/tmp% gcj-3.4 -o Test --main=Test Test.java && ./Test [...] Interning 16380th String Interning 16381th String Interning 16382th String Interning 16383th String Interning 16384th String [hangs infintely] See also some analysis at the URL above. Also present in 3.3. -- Summary: hang when rapidly calling String.intern() Product: gcc Version: 3.4.4 Status: UNCONFIRMED Severity: normal Priority: P2 Component: java AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: debian-gcc at lists dot debian dot org CC: gcc-bugs at gcc dot gnu dot org,java-prs at gcc dot gnu dot org http://gcc.gnu.org/bugzilla/show_bug.cgi?id=21703