public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug 45773] (java) New: gcj fails to compile java
@ 2010-09-24  2:51 howarth at nitro dot med.uc.edu
  2010-09-28 14:08 ` [Bug java/45773] " aph at gcc dot gnu.org
  2010-09-28 16:32 ` aph at gcc dot gnu.org
  0 siblings, 2 replies; 3+ messages in thread
From: howarth at nitro dot med.uc.edu @ 2010-09-24  2:51 UTC (permalink / raw)
  To: gcc-bugs

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

           Summary: gcj fails to compile java
           Product: gcc
           Version: 4.6.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: java
        AssignedTo: unassigned@gcc.gnu.org
        ReportedBy: howarth@nitro.med.uc.edu
              Host: x86_64-apple-darwin10
            Target: x86_64-apple-darwin10
             Build: x86_64-apple-darwin10


Current gcc trunk, r164573,  patched with...

http://gcc.gnu.org/ml/gcc-patches/2010-09/msg01914.html

to solve the darwin bootstrap, fails to compile java files. The simple
testme.java file...

public class testme { 
  public static void main(String args[]){ 
    System.out.println("Hello"); 
  } 
} 

fails to compile with...

gcj --main=testme -O testme.java
Exception in thread "main" java.lang.NoClassDefFoundError:
org.eclipse.jdt.internal.compiler.batch.GCCMain
   at gnu.java.lang.MainThread.run(libgcj.12.dylib)
Caused by: java.lang.ClassNotFoundException:
org.eclipse.jdt.internal.compiler.batch.GCCMain not found in
gnu.gcj.runtime.SystemClassLoader{urls=[file:/sw/share/java/ecj/ecj.jar,file:./],
parent=gnu.gcj.runtime.ExtensionClassLoader{urls=[], parent=null}}
   at java.net.URLClassLoader.findClass(libgcj.12.dylib)
   at java.lang.ClassLoader.loadClass(libgcj.12.dylib)
   at java.lang.ClassLoader.loadClass(libgcj.12.dylib)
   at gnu.java.lang.MainThread.run(libgcj.12.dylib)

-- 
Configure bugmail: http://gcc.gnu.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.


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

* [Bug java/45773] gcj fails to compile java
  2010-09-24  2:51 [Bug 45773] (java) New: gcj fails to compile java howarth at nitro dot med.uc.edu
@ 2010-09-28 14:08 ` aph at gcc dot gnu.org
  2010-09-28 16:32 ` aph at gcc dot gnu.org
  1 sibling, 0 replies; 3+ messages in thread
From: aph at gcc dot gnu.org @ 2010-09-28 14:08 UTC (permalink / raw)
  To: gcc-bugs

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

--- Comment #20 from Andrew Haley <aph at gcc dot gnu.org> 2010-09-28 09:54:30 UTC ---
Author: aph
Date: Tue Sep 28 09:54:27 2010
New Revision: 164679

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=164679
Log:
2010-09-27  Andrew Haley  <aph@redhat.com>

        PR java/45773
        * jvgenmain.c (main): Fix arg processing.


Modified:
    trunk/gcc/java/ChangeLog
    trunk/gcc/java/jvgenmain.c


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

* [Bug java/45773] gcj fails to compile java
  2010-09-24  2:51 [Bug 45773] (java) New: gcj fails to compile java howarth at nitro dot med.uc.edu
  2010-09-28 14:08 ` [Bug java/45773] " aph at gcc dot gnu.org
@ 2010-09-28 16:32 ` aph at gcc dot gnu.org
  1 sibling, 0 replies; 3+ messages in thread
From: aph at gcc dot gnu.org @ 2010-09-28 16:32 UTC (permalink / raw)
  To: gcc-bugs

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

Andrew Haley <aph at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|ASSIGNED                    |RESOLVED
         Resolution|                            |FIXED

--- Comment #21 from Andrew Haley <aph at gcc dot gnu.org> 2010-09-28 14:03:25 UTC ---
.


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

end of thread, other threads:[~2010-09-28 14:03 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2010-09-24  2:51 [Bug 45773] (java) New: gcj fails to compile java howarth at nitro dot med.uc.edu
2010-09-28 14:08 ` [Bug java/45773] " aph at gcc dot gnu.org
2010-09-28 16:32 ` aph at gcc dot gnu.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).