This is the mail archive of the
java@gcc.gnu.org
mailing list for the Java project.
Re: [gcj-eclipse-merge-branch] MinGW ecj: Cross-built ecjx?! (was Re: ecj branch)
- From: Mohan Embar <gnustuff at thisiscool dot com>
- To: Andrew Haley <aph at redhat dot com>
- Cc: java at gcc dot gnu dot org
- Date: Mon, 04 Dec 2006 07:28:12 -0600
- Subject: Re: [gcj-eclipse-merge-branch] MinGW ecj: Cross-built ecjx?! (was Re: ecj branch)
- Reply-to: gnustuff at thisiscool dot com
Hi Andrew,
> > Index: sun/misc/natUnsafe.cc
> > ===================================================================
> > --- sun/misc/natUnsafe.cc (revision 119467)
> > +++ sun/misc/natUnsafe.cc (working copy)
> > @@ -238,11 +238,11 @@
> > void
> > sun::misc::Unsafe::unpark (::java::lang::Thread *thread)
> > {
> > - _Jv_ThreadUnpark (thread);
> > +// _Jv_ThreadUnpark (thread);
> > }
> >
> > void
> > sun::misc::Unsafe::park (jboolean isAbsolute, jlong time)
> > {
> > - _Jv_ThreadPark (isAbsolute, time);
> > +// _Jv_ThreadPark (isAbsolute, time);
> > }
>
>WHy is this necessary? I put definitions of _Jv_ThreadPark etc in
>win32-threads.cc.
Yes, but not in win32-threads.h. Remember that I was just hacking
and slashing here without trying to take too much time to figure
things out.
> > Index: java/lang/natRuntime.cc
> > ===================================================================
> > --- java/lang/natRuntime.cc (revision 119467)
> > +++ java/lang/natRuntime.cc (working copy)
> > @@ -290,7 +290,7 @@
> > jstringArray env,
> > java::io::File *dir)
> > {
> > - return new _Jv_platform_process (cmd, env, dir);
> > + return new ::java::lang::Win32Process (cmd, env, dir);
> > }
>
>I can't imagine why change this is necessary.
Because win32.h has:
#define _Jv_platform_process ::java::lang::PosixProcess
:)
...and I didn't feel like fixing this and having the world
rebuild....
You did a nice job considering you can't even build this stuff.
-- Mohan
http://www.thisiscool.com/
http://www.animalsong.org/