public inbox for java-prs@sourceware.org
help / color / mirror / Atom feed
* [Bug java/32967]  New: [4.3 regression] gcjavac throws java exceptions on startup
@ 2007-08-02  8:01 bero at arklinux dot org
  2007-08-02 23:01 ` [Bug libgcj/32967] " pinskia at gcc dot gnu dot org
                   ` (8 more replies)
  0 siblings, 9 replies; 10+ messages in thread
From: bero at arklinux dot org @ 2007-08-02  8:01 UTC (permalink / raw)
  To: java-prs

I've installed gcc 4.2.1 and 4.3-svn in parallel, 4.2.1 as normal compiler, 4.3
with --program-suffix=-4.3 (and with contrib/download_ecj).

Trying to use gcjavac from 4.3 results in:

$ gcjavac-4.3 test.java
java.lang.NullPointerException
   at java.lang.String.<init>(libgcj.so.9)
   at
org.eclipse.jdt.internal.compiler.batch.FileSystem.initializeKnownFileNames(FileSystem.java:192)
   at
org.eclipse.jdt.internal.compiler.batch.FileSystem.<init>(FileSystem.java:128)
   at
org.eclipse.jdt.internal.compiler.batch.Main.getLibraryAccess(Main.java:3271)
   at
org.eclipse.jdt.internal.compiler.batch.Main.performCompilation(Main.java:3379)
   at org.eclipse.jdt.internal.compiler.batch.Main.compile(Main.java:1607)
   at org.eclipse.jdt.internal.compiler.batch.GCCMain.compile(GCCMain.java:474)
   at org.eclipse.jdt.internal.compiler.batch.GCCMain.main(GCCMain.java:491)

Or, when forcing libgcj into the CLASSPATH:

$ CLASSPATH=/usr/share/java/libgcj-4.3.0.jar gcjavac-4.3 test.java
java.lang.ClassCastException:
org.eclipse.jdt.internal.compiler.ast.MethodDeclaration cannot be cast to
org.eclipse.jdt.internal.compiler.ast.AnnotationMethodDeclaration
   at
org.eclipse.jdt.internal.compiler.parser.Parser.consumeMethodHeaderExtendedDims(Parser.java:4223)
   at
org.eclipse.jdt.internal.compiler.parser.Parser.consumeRule(Parser.java:5184)
   at org.eclipse.jdt.internal.compiler.parser.Parser.parse(Parser.java:9007)
   at org.eclipse.jdt.internal.compiler.parser.Parser.parse(Parser.java:9238)
   at org.eclipse.jdt.internal.compiler.parser.Parser.parse(Parser.java:9195)
   at
org.eclipse.jdt.internal.compiler.parser.Parser.dietParse(Parser.java:7851)
   at
org.eclipse.jdt.internal.compiler.Compiler.internalBeginToCompile(Compiler.java:587)
   at
org.eclipse.jdt.internal.compiler.Compiler.beginToCompile(Compiler.java:357)
   at org.eclipse.jdt.internal.compiler.Compiler.compile(Compiler.java:371)
   at
org.eclipse.jdt.internal.compiler.batch.Main.performCompilation(Main.java:3410)
   at org.eclipse.jdt.internal.compiler.batch.Main.compile(Main.java:1607)
   at org.eclipse.jdt.internal.compiler.batch.GCCMain.compile(GCCMain.java:474)
   at org.eclipse.jdt.internal.compiler.batch.GCCMain.main(GCCMain.java:491)
org.eclipse.jdt.internal.compiler.ast.MethodDeclaration cannot be cast to
org.eclipse.jdt.internal.compiler.ast.AnnotationMethodDeclaration


(test.java is just a simple hello world-style app)


-- 
           Summary: [4.3 regression] gcjavac throws java exceptions on
                    startup
           Product: gcc
           Version: 4.3.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: java
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: bero at arklinux dot org
 GCC build triplet: i586-pc-linux-gnu
  GCC host triplet: i586-pc-linux-gnu
GCC target triplet: i586-pc-linux-gnu


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


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

* [Bug libgcj/32967] [4.3 regression] gcjavac throws java exceptions on startup
  2007-08-02  8:01 [Bug java/32967] New: [4.3 regression] gcjavac throws java exceptions on startup bero at arklinux dot org
@ 2007-08-02 23:01 ` pinskia at gcc dot gnu dot org
  2007-08-04  2:07 ` pinskia at gcc dot gnu dot org
                   ` (7 subsequent siblings)
  8 siblings, 0 replies; 10+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2007-08-02 23:01 UTC (permalink / raw)
  To: java-prs



------- Comment #1 from pinskia at gcc dot gnu dot org  2007-08-02 23:01 -------
Are you sure that this is not a bug in the ecj version that is on the ftp site?


-- 

pinskia at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
          Component|java                        |libgcj


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


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

* [Bug libgcj/32967] [4.3 regression] gcjavac throws java exceptions on startup
  2007-08-02  8:01 [Bug java/32967] New: [4.3 regression] gcjavac throws java exceptions on startup bero at arklinux dot org
  2007-08-02 23:01 ` [Bug libgcj/32967] " pinskia at gcc dot gnu dot org
@ 2007-08-04  2:07 ` pinskia at gcc dot gnu dot org
  2007-08-10  0:38 ` tromey at gcc dot gnu dot org
                   ` (6 subsequent siblings)
  8 siblings, 0 replies; 10+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2007-08-04  2:07 UTC (permalink / raw)
  To: java-prs



-- 

pinskia at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |pinskia at gcc dot gnu dot
                   |                            |org
   Target Milestone|---                         |4.3.0


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


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

* [Bug libgcj/32967] [4.3 regression] gcjavac throws java exceptions on startup
  2007-08-02  8:01 [Bug java/32967] New: [4.3 regression] gcjavac throws java exceptions on startup bero at arklinux dot org
  2007-08-02 23:01 ` [Bug libgcj/32967] " pinskia at gcc dot gnu dot org
  2007-08-04  2:07 ` pinskia at gcc dot gnu dot org
@ 2007-08-10  0:38 ` tromey at gcc dot gnu dot org
  2007-08-10  0:58 ` mmitchel at gcc dot gnu dot org
                   ` (5 subsequent siblings)
  8 siblings, 0 replies; 10+ messages in thread
From: tromey at gcc dot gnu dot org @ 2007-08-10  0:38 UTC (permalink / raw)
  To: java-prs



------- Comment #2 from tromey at gcc dot gnu dot org  2007-08-10 00:38 -------
What is 'gcjavac'?


-- 

tromey at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |tromey at gcc dot gnu dot
                   |                            |org


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


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

* [Bug libgcj/32967] [4.3 regression] gcjavac throws java exceptions on startup
  2007-08-02  8:01 [Bug java/32967] New: [4.3 regression] gcjavac throws java exceptions on startup bero at arklinux dot org
                   ` (2 preceding siblings ...)
  2007-08-10  0:38 ` tromey at gcc dot gnu dot org
@ 2007-08-10  0:58 ` mmitchel at gcc dot gnu dot org
  2008-01-13 15:27 ` rguenth at gcc dot gnu dot org
                   ` (4 subsequent siblings)
  8 siblings, 0 replies; 10+ messages in thread
From: mmitchel at gcc dot gnu dot org @ 2007-08-10  0:58 UTC (permalink / raw)
  To: java-prs



-- 

mmitchel at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Priority|P3                          |P5


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


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

* [Bug libgcj/32967] [4.3 regression] gcjavac throws java exceptions on startup
  2007-08-02  8:01 [Bug java/32967] New: [4.3 regression] gcjavac throws java exceptions on startup bero at arklinux dot org
                   ` (3 preceding siblings ...)
  2007-08-10  0:58 ` mmitchel at gcc dot gnu dot org
@ 2008-01-13 15:27 ` rguenth at gcc dot gnu dot org
  2008-03-15  0:41 ` [Bug libgcj/32967] [4.3/4.4 " jsm28 at gcc dot gnu dot org
                   ` (3 subsequent siblings)
  8 siblings, 0 replies; 10+ messages in thread
From: rguenth at gcc dot gnu dot org @ 2008-01-13 15:27 UTC (permalink / raw)
  To: java-prs



------- Comment #3 from rguenth at gcc dot gnu dot org  2008-01-13 15:27 -------
There are questions pending.


-- 

rguenth at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |WAITING


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


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

* [Bug libgcj/32967] [4.3/4.4 regression] gcjavac throws java exceptions on startup
  2007-08-02  8:01 [Bug java/32967] New: [4.3 regression] gcjavac throws java exceptions on startup bero at arklinux dot org
                   ` (4 preceding siblings ...)
  2008-01-13 15:27 ` rguenth at gcc dot gnu dot org
@ 2008-03-15  0:41 ` jsm28 at gcc dot gnu dot org
  2008-06-06 14:58 ` rguenth at gcc dot gnu dot org
                   ` (2 subsequent siblings)
  8 siblings, 0 replies; 10+ messages in thread
From: jsm28 at gcc dot gnu dot org @ 2008-03-15  0:41 UTC (permalink / raw)
  To: java-prs



------- Comment #4 from jsm28 at gcc dot gnu dot org  2008-03-15 00:41 -------
Update milestone after 4.3.0 release.


-- 

jsm28 at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
   Target Milestone|4.3.0                       |4.3.1


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


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

* [Bug libgcj/32967] [4.3/4.4 regression] gcjavac throws java exceptions on startup
  2007-08-02  8:01 [Bug java/32967] New: [4.3 regression] gcjavac throws java exceptions on startup bero at arklinux dot org
                   ` (5 preceding siblings ...)
  2008-03-15  0:41 ` [Bug libgcj/32967] [4.3/4.4 " jsm28 at gcc dot gnu dot org
@ 2008-06-06 14:58 ` rguenth at gcc dot gnu dot org
  2008-08-27 22:03 ` jsm28 at gcc dot gnu dot org
  2008-12-24 23:06 ` pinskia at gcc dot gnu dot org
  8 siblings, 0 replies; 10+ messages in thread
From: rguenth at gcc dot gnu dot org @ 2008-06-06 14:58 UTC (permalink / raw)
  To: java-prs



------- Comment #5 from rguenth at gcc dot gnu dot org  2008-06-06 14:57 -------
4.3.1 is being released, adjusting target milestone.


-- 

rguenth at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
   Target Milestone|4.3.1                       |4.3.2


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


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

* [Bug libgcj/32967] [4.3/4.4 regression] gcjavac throws java exceptions on startup
  2007-08-02  8:01 [Bug java/32967] New: [4.3 regression] gcjavac throws java exceptions on startup bero at arklinux dot org
                   ` (6 preceding siblings ...)
  2008-06-06 14:58 ` rguenth at gcc dot gnu dot org
@ 2008-08-27 22:03 ` jsm28 at gcc dot gnu dot org
  2008-12-24 23:06 ` pinskia at gcc dot gnu dot org
  8 siblings, 0 replies; 10+ messages in thread
From: jsm28 at gcc dot gnu dot org @ 2008-08-27 22:03 UTC (permalink / raw)
  To: java-prs



------- Comment #6 from jsm28 at gcc dot gnu dot org  2008-08-27 22:02 -------
4.3.2 is released, changing milestones to 4.3.3.


-- 

jsm28 at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
   Target Milestone|4.3.2                       |4.3.3


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


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

* [Bug libgcj/32967] [4.3/4.4 regression] gcjavac throws java exceptions on startup
  2007-08-02  8:01 [Bug java/32967] New: [4.3 regression] gcjavac throws java exceptions on startup bero at arklinux dot org
                   ` (7 preceding siblings ...)
  2008-08-27 22:03 ` jsm28 at gcc dot gnu dot org
@ 2008-12-24 23:06 ` pinskia at gcc dot gnu dot org
  8 siblings, 0 replies; 10+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2008-12-24 23:06 UTC (permalink / raw)
  To: java-prs



------- Comment #7 from pinskia at gcc dot gnu dot org  2008-12-24 23:06 -------
No answer in 3 months so closing as invalid.


-- 

pinskia at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|WAITING                     |RESOLVED
         Resolution|                            |INVALID


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


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

end of thread, other threads:[~2008-12-24 23:06 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2007-08-02  8:01 [Bug java/32967] New: [4.3 regression] gcjavac throws java exceptions on startup bero at arklinux dot org
2007-08-02 23:01 ` [Bug libgcj/32967] " pinskia at gcc dot gnu dot org
2007-08-04  2:07 ` pinskia at gcc dot gnu dot org
2007-08-10  0:38 ` tromey at gcc dot gnu dot org
2007-08-10  0:58 ` mmitchel at gcc dot gnu dot org
2008-01-13 15:27 ` rguenth at gcc dot gnu dot org
2008-03-15  0:41 ` [Bug libgcj/32967] [4.3/4.4 " jsm28 at gcc dot gnu dot org
2008-06-06 14:58 ` rguenth at gcc dot gnu dot org
2008-08-27 22:03 ` jsm28 at gcc dot gnu dot org
2008-12-24 23:06 ` pinskia 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).