You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@harmony.apache.org by Gary Clark <on...@gmail.com> on 2006/04/01 20:46:47 UTC
java.lang.reflect
Greetings all! I have been reading the forums for a few weeks now and
would like to start contributing. I thought I would start by bringing
the java.lang.reflect interface up to 1.5 and I suspect I'll need to
work on the Annotation package as well. However, I have a few questions
I would like to ask before I get started.
1) Is anyone else working on this?
2) The current contributed version seems to have the same JavaDocs as
the official ones. Should I do the same or will that cause a copyright
problem? It dosn't matter to me which one we do, I just don't want to
redo it later.
3) Do any of the current VMs support the 1.5 features? Off the top of my
head I don't recall if anything changed within the VM to support them.
---------------------------------------------------------------------
Terms of use : http://incubator.apache.org/harmony/mailing.html
To unsubscribe, e-mail: harmony-dev-unsubscribe@incubator.apache.org
For additional commands, e-mail: harmony-dev-help@incubator.apache.org
Re: java.lang.reflect
Posted by Archie Cobbs <ar...@dellroad.org>.
Etienne Gagnon wrote:
> Tim Ellison wrote:
>> Gary Clark wrote:
>>> 3) Do any of the current VMs support the 1.5 features? Off the top of my
>>> head I don't recall if anything changed within the VM to support them.
>> I'll let Etienne, Archie, Dalibor, et al describe their status wrt Java
>> 1.5 support. The IBM VM can switch to 1.5 support trivially but we are
>> limiting it to 1.4 until there is reasonable coverage in the open source
>> VMs.
>
> One of my former students succeeded to run SableVM with the generic
> branch of GNU Classpath over the holidays, by only implementing one or
> two additional native methods in SableVM (the code should be in his
> sandbox somewhere). As far as I know, the type erasure stuff was chosen
> by Sun as to minimize the impact of generics on the virtual machine.
> So, I don't expect the switch to 1.5 to be something big. But, first,
> it would be nice to get SableVM to work with current Harmony... So, I'm
> working on that for the time being.
JCHEVM already supports the 1.5 bytecode change (Class literals) but
does not yet have reflection support for the new 1.5 stuff.
-Archie
__________________________________________________________________________
Archie Cobbs * CTO, Awarix * http://www.awarix.com
---------------------------------------------------------------------
Terms of use : http://incubator.apache.org/harmony/mailing.html
To unsubscribe, e-mail: harmony-dev-unsubscribe@incubator.apache.org
For additional commands, e-mail: harmony-dev-help@incubator.apache.org
Re: java.lang.reflect
Posted by Dalibor Topic <ro...@kaffe.org>.
On Tue, Apr 04, 2006 at 09:05:04AM -0700, Matt Benson wrote:
> --- Dalibor Topic <ro...@kaffe.org> wrote:
> > We'll have 1.5 support out of the box for the next
> > Kaffe release.
> > Guilhem has checked in the code, so I just need to
> > find some time to
> > make the build system work with a generified
> > glibj.zip, and see if we
> > are missing some changes from the GNU Classpath 1.5
> > VM interface.
> >
> > We need it for ant on the gump, since it's stuck
> > trying to
> > build code for a 1.5 VM without having some of the
> > classes & enums.
> > There is a bug report for it on the ant bugzilla,
> > but it gets boring
> > to have to patch ant to work around the VM version
> > detection code. It
>
> FWIW,
> http://issues.apache.org/bugzilla/show_bug.cgi?id=39027
> was fixed in SVN last week by Martijn Kruithof.
>
Oh, great! I didn't see it was fixed already. Now I just
need to make sure that the gump runs use an up to date Kaffe version
(currently 1.1.8-pre) and we should be back in the high score.
cheers,
dalibor topic
> -Matt
>
> > is simpler to just give it what it wants, a 1.5-ish
> > VM. ;)
> >
> > In other words, Gump is great for discovering that
> > sort of issues.
> >
> > cheers,
> > dalibor topic
> >
>
>
> __________________________________________________
> Do You Yahoo!?
> Tired of spam? Yahoo! Mail has the best spam protection around
> http://mail.yahoo.com
>
> ---------------------------------------------------------------------
> Terms of use : http://incubator.apache.org/harmony/mailing.html
> To unsubscribe, e-mail: harmony-dev-unsubscribe@incubator.apache.org
> For additional commands, e-mail: harmony-dev-help@incubator.apache.org
>
---------------------------------------------------------------------
Terms of use : http://incubator.apache.org/harmony/mailing.html
To unsubscribe, e-mail: harmony-dev-unsubscribe@incubator.apache.org
For additional commands, e-mail: harmony-dev-help@incubator.apache.org
Re: java.lang.reflect
Posted by Geir Magnusson Jr <ge...@pobox.com>.
Hey, Dalibor...
When will Kaffe also work with the Harmony classlib? :)
geir
Dalibor Topic wrote:
> On Tue, Apr 04, 2006 at 12:46:29AM -0400, Etienne Gagnon wrote:
>> Tim Ellison wrote:
>>> Gary Clark wrote:
>>>> 3) Do any of the current VMs support the 1.5 features? Off the top of my
>>>> head I don't recall if anything changed within the VM to support them.
>>> I'll let Etienne, Archie, Dalibor, et al describe their status wrt Java
>>> 1.5 support. The IBM VM can switch to 1.5 support trivially but we are
>>> limiting it to 1.4 until there is reasonable coverage in the open source
>>> VMs.
>
> We'll have 1.5 support out of the box for the next Kaffe release.
> Guilhem has checked in the code, so I just need to find some time to
> make the build system work with a generified glibj.zip, and see if we
> are missing some changes from the GNU Classpath 1.5 VM interface.
>
> We need it for ant on the gump, since it's stuck trying to
> build code for a 1.5 VM without having some of the classes & enums.
> There is a bug report for it on the ant bugzilla, but it gets boring
> to have to patch ant to work around the VM version detection code. It
> is simpler to just give it what it wants, a 1.5-ish VM. ;)
>
> In other words, Gump is great for discovering that sort of issues.
>
> cheers,
> dalibor topic
>
>> One of my former students succeeded to run SableVM with the generic
>> branch of GNU Classpath over the holidays, by only implementing one or
>> two additional native methods in SableVM (the code should be in his
>> sandbox somewhere). As far as I know, the type erasure stuff was chosen
>> by Sun as to minimize the impact of generics on the virtual machine.
>> So, I don't expect the switch to 1.5 to be something big. But, first,
>> it would be nice to get SableVM to work with current Harmony... So, I'm
>> working on that for the time being.
>>
>> Etienne
>>
>> --
>> Etienne M. Gagnon, Ph.D. http://www.info2.uqam.ca/~egagnon/
>> SableVM: http://www.sablevm.org/
>> SableCC: http://www.sablecc.org/
>
>
>
> ---------------------------------------------------------------------
> Terms of use : http://incubator.apache.org/harmony/mailing.html
> To unsubscribe, e-mail: harmony-dev-unsubscribe@incubator.apache.org
> For additional commands, e-mail: harmony-dev-help@incubator.apache.org
>
>
---------------------------------------------------------------------
Terms of use : http://incubator.apache.org/harmony/mailing.html
To unsubscribe, e-mail: harmony-dev-unsubscribe@incubator.apache.org
For additional commands, e-mail: harmony-dev-help@incubator.apache.org
Re: java.lang.reflect
Posted by Matt Benson <gu...@yahoo.com>.
--- Dalibor Topic <ro...@kaffe.org> wrote:
> We'll have 1.5 support out of the box for the next
> Kaffe release.
> Guilhem has checked in the code, so I just need to
> find some time to
> make the build system work with a generified
> glibj.zip, and see if we
> are missing some changes from the GNU Classpath 1.5
> VM interface.
>
> We need it for ant on the gump, since it's stuck
> trying to
> build code for a 1.5 VM without having some of the
> classes & enums.
> There is a bug report for it on the ant bugzilla,
> but it gets boring
> to have to patch ant to work around the VM version
> detection code. It
FWIW,
http://issues.apache.org/bugzilla/show_bug.cgi?id=39027
was fixed in SVN last week by Martijn Kruithof.
-Matt
> is simpler to just give it what it wants, a 1.5-ish
> VM. ;)
>
> In other words, Gump is great for discovering that
> sort of issues.
>
> cheers,
> dalibor topic
>
__________________________________________________
Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection around
http://mail.yahoo.com
---------------------------------------------------------------------
Terms of use : http://incubator.apache.org/harmony/mailing.html
To unsubscribe, e-mail: harmony-dev-unsubscribe@incubator.apache.org
For additional commands, e-mail: harmony-dev-help@incubator.apache.org
Re: java.lang.reflect
Posted by Dalibor Topic <ro...@kaffe.org>.
On Tue, Apr 04, 2006 at 12:46:29AM -0400, Etienne Gagnon wrote:
> Tim Ellison wrote:
> > Gary Clark wrote:
> >>3) Do any of the current VMs support the 1.5 features? Off the top of my
> >>head I don't recall if anything changed within the VM to support them.
> >
> > I'll let Etienne, Archie, Dalibor, et al describe their status wrt Java
> > 1.5 support. The IBM VM can switch to 1.5 support trivially but we are
> > limiting it to 1.4 until there is reasonable coverage in the open source
> > VMs.
>
We'll have 1.5 support out of the box for the next Kaffe release.
Guilhem has checked in the code, so I just need to find some time to
make the build system work with a generified glibj.zip, and see if we
are missing some changes from the GNU Classpath 1.5 VM interface.
We need it for ant on the gump, since it's stuck trying to
build code for a 1.5 VM without having some of the classes & enums.
There is a bug report for it on the ant bugzilla, but it gets boring
to have to patch ant to work around the VM version detection code. It
is simpler to just give it what it wants, a 1.5-ish VM. ;)
In other words, Gump is great for discovering that sort of issues.
cheers,
dalibor topic
> One of my former students succeeded to run SableVM with the generic
> branch of GNU Classpath over the holidays, by only implementing one or
> two additional native methods in SableVM (the code should be in his
> sandbox somewhere). As far as I know, the type erasure stuff was chosen
> by Sun as to minimize the impact of generics on the virtual machine.
> So, I don't expect the switch to 1.5 to be something big. But, first,
> it would be nice to get SableVM to work with current Harmony... So, I'm
> working on that for the time being.
>
> Etienne
>
> --
> Etienne M. Gagnon, Ph.D. http://www.info2.uqam.ca/~egagnon/
> SableVM: http://www.sablevm.org/
> SableCC: http://www.sablecc.org/
---------------------------------------------------------------------
Terms of use : http://incubator.apache.org/harmony/mailing.html
To unsubscribe, e-mail: harmony-dev-unsubscribe@incubator.apache.org
For additional commands, e-mail: harmony-dev-help@incubator.apache.org
Re: java.lang.reflect
Posted by Etienne Gagnon <eg...@sablevm.org>.
Tim Ellison wrote:
> Gary Clark wrote:
>>3) Do any of the current VMs support the 1.5 features? Off the top of my
>>head I don't recall if anything changed within the VM to support them.
>
> I'll let Etienne, Archie, Dalibor, et al describe their status wrt Java
> 1.5 support. The IBM VM can switch to 1.5 support trivially but we are
> limiting it to 1.4 until there is reasonable coverage in the open source
> VMs.
One of my former students succeeded to run SableVM with the generic
branch of GNU Classpath over the holidays, by only implementing one or
two additional native methods in SableVM (the code should be in his
sandbox somewhere). As far as I know, the type erasure stuff was chosen
by Sun as to minimize the impact of generics on the virtual machine.
So, I don't expect the switch to 1.5 to be something big. But, first,
it would be nice to get SableVM to work with current Harmony... So, I'm
working on that for the time being.
Etienne
--
Etienne M. Gagnon, Ph.D. http://www.info2.uqam.ca/~egagnon/
SableVM: http://www.sablevm.org/
SableCC: http://www.sablecc.org/
Re: java.lang.reflect
Posted by Tim Ellison <t....@gmail.com>.
Gary Clark wrote:
> Greetings all! I have been reading the forums for a few weeks now and
> would like to start contributing.
Great!
> I thought I would start by bringing
> the java.lang.reflect interface up to 1.5 and I suspect I'll need to
> work on the Annotation package as well. However, I have a few questions
> I would like to ask before I get started.
>
>
> 1) Is anyone else working on this?
There are a few people working in the LUNI (lang, util, net, io) module.
Their current status is shown on the wiki
http://wiki.apache.org/harmony/LUNI
> 2) The current contributed version seems to have the same JavaDocs as
> the official ones. Should I do the same or will that cause a copyright
> problem? It dosn't matter to me which one we do, I just don't want to
> redo it later.
We don't copy other implementor's JavaDoc (or anything else for that
matter!) Write the comments in your own words.
> 3) Do any of the current VMs support the 1.5 features? Off the top of my
> head I don't recall if anything changed within the VM to support them.
I'll let Etienne, Archie, Dalibor, et al describe their status wrt Java
1.5 support. The IBM VM can switch to 1.5 support trivially but we are
limiting it to 1.4 until there is reasonable coverage in the open source
VMs.
Regards,
Tim
--
Tim Ellison (t.p.ellison@gmail.com)
IBM Java technology centre, UK.
---------------------------------------------------------------------
Terms of use : http://incubator.apache.org/harmony/mailing.html
To unsubscribe, e-mail: harmony-dev-unsubscribe@incubator.apache.org
For additional commands, e-mail: harmony-dev-help@incubator.apache.org