This is the mail archive of the java@gcc.gnu.org mailing list for the Java project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [gcj-eclipse-merge-branch] MinGW ecj: Cross-built ecjx?! (was Re: ecj branch)


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/




Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]