public inbox for java-prs@sourceware.org
help / color / mirror / Atom feed
* [Bug libgcj/26177]  New: Exception when compiling valid regex pattern
@ 2006-02-08 17:03 green at redhat dot com
  2006-02-08 17:11 ` [Bug libgcj/26177] " konqueror at gmx dot de
                   ` (9 more replies)
  0 siblings, 10 replies; 11+ messages in thread
From: green at redhat dot com @ 2006-02-08 17:03 UTC (permalink / raw)
  To: java-prs

The azureus developers identified a regex failure that is causing trouble...

$ cat /tmp/ar.java
import java.util.regex.*;

public class ar
{
  public static void main (String args[])
  {
    Pattern p = Pattern.compile ("(?i)yoda");
  }
}
$ gcj -C ar.java
$ gij ar
Exception in thread "main" java.util.regex.PatternSyntaxException: At position
1 in regular expression pattern:
quantifier (?*+{}) without preceding token
        (?i)yoda
         ^
   at java.util.regex.Pattern.Pattern(java.lang.String, int)
(/usr/lib/libgcj.so.6.0.0)
   at java.util.regex.Pattern.compile(java.lang.String, int)
(/usr/lib/libgcj.so.6.0.0)
   at java.util.regex.Pattern.compile(java.lang.String)
(/usr/lib/libgcj.so.6.0.0)
   at ar.main(java.lang.String[]) (Unknown Source)
   at gnu.java.lang.MainThread.call_main() (/usr/lib/libgcj.so.6.0.0)
   at gnu.java.lang.MainThread.run() (/usr/lib/libgcj.so.6.0.0)

(Yes, I ran this again 4.0, but the same thing happens in 4.1).


-- 
           Summary: Exception when compiling valid regex pattern
           Product: gcc
           Version: 4.1.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: libgcj
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: green at redhat dot com


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=26177


^ permalink raw reply	[flat|nested] 11+ messages in thread

end of thread, other threads:[~2006-02-10 19:54 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2006-02-08 17:03 [Bug libgcj/26177] New: Exception when compiling valid regex pattern green at redhat dot com
2006-02-08 17:11 ` [Bug libgcj/26177] " konqueror at gmx dot de
2006-02-08 17:22 ` [Bug classpath/26177] " mark at gcc dot gnu dot org
2006-02-08 17:32 ` [Bug libgcj/26177] " green at redhat dot com
2006-02-08 17:34 ` [Bug libgcj/26177] [4.1 only] " pinskia at gcc dot gnu dot org
2006-02-08 17:49 ` konqueror at gmx dot de
2006-02-08 17:52 ` pinskia at gcc dot gnu dot org
2006-02-08 18:54 ` tromey at gcc dot gnu dot org
2006-02-10 19:52 ` tromey at gcc dot gnu dot org
2006-02-10 19:53 ` tromey at gcc dot gnu dot org
2006-02-10 19:54 ` tromey at gcc dot gnu dot org

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).