You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@harmony.apache.org by Spark Shen <sm...@gmail.com> on 2006/07/26 08:49:34 UTC

[classlib][util]EnumMap and EnumSet need core library support to be implemented

Hi all:

After investigating into spec, and making pilot implementation, I
realize that
implementation of java.util.EnumMap/ java.util.EnumSet need methods in
java.lang.Class such as getEnumConstants() and isEnum(). While these
methods
are not yet implemented in present VME. So, I have to defer the development
of these 2 classes until new version of core library implements all the
methods needed.

Best regards

-- 
Spark Shen
China Software Development Lab, IBM



---------------------------------------------------------------------
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: [classlib][util]EnumMap and EnumSet need core library support to be implemented

Posted by Spark Shen <sm...@gmail.com>.
Alexey Petrenko 写道:
> Have you opened a JIRA issue for this?
Not yet.

Best regards
>
> SY, Alexey
>
> 2006/7/26, Spark Shen <sm...@gmail.com>:
>> Hi all:
>>
>> After investigating into spec, and making pilot implementation, I
>> realize that
>> implementation of java.util.EnumMap/ java.util.EnumSet need methods in
>> java.lang.Class such as getEnumConstants() and isEnum(). While these
>> methods
>> are not yet implemented in present VME. So, I have to defer the 
>> development
>> of these 2 classes until new version of core library implements all the
>> methods needed.
>>
>> Best regards
>>
>> -- 
>> Spark Shen
>> China Software Development Lab, IBM
>>
>>
>>
>> ---------------------------------------------------------------------
>> 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
>>
>>
>
>


-- 
Spark Shen
China Software Development Lab, IBM



---------------------------------------------------------------------
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: [classlib][util]EnumMap and EnumSet need core library support to be implemented

Posted by Alexey Varlamov <al...@gmail.com>.
2006/7/26, Paulex Yang <pa...@gmail.com>:
> Alexey Varlamov wrote:
> > 2006/7/26, Alexey Petrenko <al...@gmail.com>:
> >> 2006/7/26, Paulex Yang <pa...@gmail.com>:
> >> > FYI. EnumMap and EnumSet implementation has been raised as HARMONY-595
> >> > and HARMONY-594.
> >> >
> >> > And the IBM VME is not part of Harmony, so I think we don't need to
> >> > raise JIRA, but only to ask Oliver when the new version will be
> >> available;)
> >> Are these methods implemented in drlvm?
> >>
> >
> > Not yet, either :)
> > I think this dependency can be temporarily resolved by stubbing these
> > methods in luni-kernel, to not hold the development.
> Actually they are in the luni-kernel already:), so the codes for EnumMap
> and EnumSet can be written, but probably most logic cannot be tested.

Are there some other dependencies which prevents testing on RI?

---------------------------------------------------------------------
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: [classlib][util]EnumMap and EnumSet need core library support to be implemented

Posted by Richard Liang <ri...@gmail.com>.

Paulex Yang wrote:
> Alexey Varlamov wrote:
>> 2006/7/26, Alexey Petrenko <al...@gmail.com>:
>>> 2006/7/26, Paulex Yang <pa...@gmail.com>:
>>> > FYI. EnumMap and EnumSet implementation has been raised as 
>>> HARMONY-595
>>> > and HARMONY-594.
>>> >
>>> > And the IBM VME is not part of Harmony, so I think we don't need to
>>> > raise JIRA, but only to ask Oliver when the new version will be 
>>> available;)
>>> Are these methods implemented in drlvm?
>>>
>>
>> Not yet, either :)
>> I think this dependency can be temporarily resolved by stubbing these
>> methods in luni-kernel, to not hold the development.
> Actually they are in the luni-kernel already:), so the codes for 
> EnumMap and EnumSet can be written, but probably most logic cannot be 
> tested.

Maybe we will wait for drlvm or IBM VME instead of working on some trick 
development scenario. Please correct me if I'm wrong.

Best regards,
Richard.
>>
>> -- 
>> Alexey
>>
>>>
>>> > Alexey Petrenko wrote:
>>> > > Have you opened a JIRA issue for this?
>>> > >
>>> > > SY, Alexey
>>> > >
>>> > > 2006/7/26, Spark Shen <sm...@gmail.com>:
>>> > >> Hi all:
>>> > >>
>>> > >> After investigating into spec, and making pilot implementation, I
>>> > >> realize that
>>> > >> implementation of java.util.EnumMap/ java.util.EnumSet need 
>>> methods in
>>> > >> java.lang.Class such as getEnumConstants() and isEnum(). While 
>>> these
>>> > >> methods
>>> > >> are not yet implemented in present VME. So, I have to defer the
>>> > >> development
>>> > >> of these 2 classes until new version of core library implements 
>>> all the
>>> > >> methods needed.
>>> > >>
>>> > >> Best regards
>>> > >>
>>> > >> --
>>> > >> Spark Shen
>>> > >> China Software Development Lab, IBM
>>> > >>
>>> > >>
>>> > >>
>>> > >> 
>>> ---------------------------------------------------------------------
>>> > >> 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
>>> > >>
>>> > >>
>>> > >
>>> > >
>>> >
>>> >
>>> > --
>>> > Paulex Yang
>>> > China Software Development Lab
>>> > IBM
>>> >
>>> >
>>> >
>>> > ---------------------------------------------------------------------
>>> > 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
>>> >
>>> >
>>>
>>>
>>> -- 
>>> Alexey A. Petrenko
>>> Intel Middleware Products Division
>>>
>>> ---------------------------------------------------------------------
>>> 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
>>
>>
>
>

-- 
Richard Liang
China Software Development Lab, IBM 



---------------------------------------------------------------------
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: [classlib][util]EnumMap and EnumSet need core library support to be implemented

Posted by Paulex Yang <pa...@gmail.com>.
Alexey Varlamov wrote:
> 2006/7/26, Alexey Petrenko <al...@gmail.com>:
>> 2006/7/26, Paulex Yang <pa...@gmail.com>:
>> > FYI. EnumMap and EnumSet implementation has been raised as HARMONY-595
>> > and HARMONY-594.
>> >
>> > And the IBM VME is not part of Harmony, so I think we don't need to
>> > raise JIRA, but only to ask Oliver when the new version will be 
>> available;)
>> Are these methods implemented in drlvm?
>>
>
> Not yet, either :)
> I think this dependency can be temporarily resolved by stubbing these
> methods in luni-kernel, to not hold the development.
Actually they are in the luni-kernel already:), so the codes for EnumMap 
and EnumSet can be written, but probably most logic cannot be tested.
>
> -- 
> Alexey
>
>>
>> > Alexey Petrenko wrote:
>> > > Have you opened a JIRA issue for this?
>> > >
>> > > SY, Alexey
>> > >
>> > > 2006/7/26, Spark Shen <sm...@gmail.com>:
>> > >> Hi all:
>> > >>
>> > >> After investigating into spec, and making pilot implementation, I
>> > >> realize that
>> > >> implementation of java.util.EnumMap/ java.util.EnumSet need 
>> methods in
>> > >> java.lang.Class such as getEnumConstants() and isEnum(). While 
>> these
>> > >> methods
>> > >> are not yet implemented in present VME. So, I have to defer the
>> > >> development
>> > >> of these 2 classes until new version of core library implements 
>> all the
>> > >> methods needed.
>> > >>
>> > >> Best regards
>> > >>
>> > >> --
>> > >> Spark Shen
>> > >> China Software Development Lab, IBM
>> > >>
>> > >>
>> > >>
>> > >> 
>> ---------------------------------------------------------------------
>> > >> 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
>> > >>
>> > >>
>> > >
>> > >
>> >
>> >
>> > --
>> > Paulex Yang
>> > China Software Development Lab
>> > IBM
>> >
>> >
>> >
>> > ---------------------------------------------------------------------
>> > 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
>> >
>> >
>>
>>
>> -- 
>> Alexey A. Petrenko
>> Intel Middleware Products Division
>>
>> ---------------------------------------------------------------------
>> 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
>
>


-- 
Paulex Yang
China Software Development Lab
IBM



---------------------------------------------------------------------
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: [classlib][util]EnumMap and EnumSet need core library support to be implemented

Posted by Alexey Varlamov <al...@gmail.com>.
2006/7/26, Alexey Petrenko <al...@gmail.com>:
> 2006/7/26, Paulex Yang <pa...@gmail.com>:
> > FYI. EnumMap and EnumSet implementation has been raised as HARMONY-595
> > and HARMONY-594.
> >
> > And the IBM VME is not part of Harmony, so I think we don't need to
> > raise JIRA, but only to ask Oliver when the new version will be available;)
> Are these methods implemented in drlvm?
>

Not yet, either :)
I think this dependency can be temporarily resolved by stubbing these
methods in luni-kernel, to not hold the development.

--
Alexey

>
> > Alexey Petrenko wrote:
> > > Have you opened a JIRA issue for this?
> > >
> > > SY, Alexey
> > >
> > > 2006/7/26, Spark Shen <sm...@gmail.com>:
> > >> Hi all:
> > >>
> > >> After investigating into spec, and making pilot implementation, I
> > >> realize that
> > >> implementation of java.util.EnumMap/ java.util.EnumSet need methods in
> > >> java.lang.Class such as getEnumConstants() and isEnum(). While these
> > >> methods
> > >> are not yet implemented in present VME. So, I have to defer the
> > >> development
> > >> of these 2 classes until new version of core library implements all the
> > >> methods needed.
> > >>
> > >> Best regards
> > >>
> > >> --
> > >> Spark Shen
> > >> China Software Development Lab, IBM
> > >>
> > >>
> > >>
> > >> ---------------------------------------------------------------------
> > >> 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
> > >>
> > >>
> > >
> > >
> >
> >
> > --
> > Paulex Yang
> > China Software Development Lab
> > IBM
> >
> >
> >
> > ---------------------------------------------------------------------
> > 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
> >
> >
>
>
> --
> Alexey A. Petrenko
> Intel Middleware Products Division
>
> ---------------------------------------------------------------------
> 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: [classlib][util]EnumMap and EnumSet need core library support to be implemented

Posted by Alexey Petrenko <al...@gmail.com>.
2006/7/26, Paulex Yang <pa...@gmail.com>:
> FYI. EnumMap and EnumSet implementation has been raised as HARMONY-595
> and HARMONY-594.
>
> And the IBM VME is not part of Harmony, so I think we don't need to
> raise JIRA, but only to ask Oliver when the new version will be available;)
Are these methods implemented in drlvm?


> Alexey Petrenko wrote:
> > Have you opened a JIRA issue for this?
> >
> > SY, Alexey
> >
> > 2006/7/26, Spark Shen <sm...@gmail.com>:
> >> Hi all:
> >>
> >> After investigating into spec, and making pilot implementation, I
> >> realize that
> >> implementation of java.util.EnumMap/ java.util.EnumSet need methods in
> >> java.lang.Class such as getEnumConstants() and isEnum(). While these
> >> methods
> >> are not yet implemented in present VME. So, I have to defer the
> >> development
> >> of these 2 classes until new version of core library implements all the
> >> methods needed.
> >>
> >> Best regards
> >>
> >> --
> >> Spark Shen
> >> China Software Development Lab, IBM
> >>
> >>
> >>
> >> ---------------------------------------------------------------------
> >> 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
> >>
> >>
> >
> >
>
>
> --
> Paulex Yang
> China Software Development Lab
> IBM
>
>
>
> ---------------------------------------------------------------------
> 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
>
>


-- 
Alexey A. Petrenko
Intel Middleware Products Division

---------------------------------------------------------------------
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: [classlib][util]EnumMap and EnumSet need core library support to be implemented

Posted by Paulex Yang <pa...@gmail.com>.
FYI. EnumMap and EnumSet implementation has been raised as HARMONY-595 
and HARMONY-594.

And the IBM VME is not part of Harmony, so I think we don't need to 
raise JIRA, but only to ask Oliver when the new version will be available;)

Alexey Petrenko wrote:
> Have you opened a JIRA issue for this?
>
> SY, Alexey
>
> 2006/7/26, Spark Shen <sm...@gmail.com>:
>> Hi all:
>>
>> After investigating into spec, and making pilot implementation, I
>> realize that
>> implementation of java.util.EnumMap/ java.util.EnumSet need methods in
>> java.lang.Class such as getEnumConstants() and isEnum(). While these
>> methods
>> are not yet implemented in present VME. So, I have to defer the 
>> development
>> of these 2 classes until new version of core library implements all the
>> methods needed.
>>
>> Best regards
>>
>> -- 
>> Spark Shen
>> China Software Development Lab, IBM
>>
>>
>>
>> ---------------------------------------------------------------------
>> 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
>>
>>
>
>


-- 
Paulex Yang
China Software Development Lab
IBM



---------------------------------------------------------------------
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: [classlib][util]EnumMap and EnumSet need core library support to be implemented

Posted by Alexey Petrenko <al...@gmail.com>.
Have you opened a JIRA issue for this?

SY, Alexey

2006/7/26, Spark Shen <sm...@gmail.com>:
> Hi all:
>
> After investigating into spec, and making pilot implementation, I
> realize that
> implementation of java.util.EnumMap/ java.util.EnumSet need methods in
> java.lang.Class such as getEnumConstants() and isEnum(). While these
> methods
> are not yet implemented in present VME. So, I have to defer the development
> of these 2 classes until new version of core library implements all the
> methods needed.
>
> Best regards
>
> --
> Spark Shen
> China Software Development Lab, IBM
>
>
>
> ---------------------------------------------------------------------
> 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
>
>


-- 
Alexey A. Petrenko
Intel Middleware Products Division

---------------------------------------------------------------------
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