[Isolate-interest] Isolate: Generics and autoboxing considered
harmful
Bill Foote
Bill.Foote at Sun.COM
Wed May 25 11:38:52 EDT 2005
Miles Sabin wrote:
> Laurent Daynes wrote,
>
>>To be fair with Bill, there are a few JDK 1.5 features that are used:
>>- Enum (IsolateStatus.ExitReason, IsolateStatus.State)
>>- varargs (e.g., Isolate.start, LinkMessage.newCompositeMessage...)
>>- Generic signature (open and tryOpen)
>
>
> The uses of varags are as straightforward to handle as our uses of
> generics, again by reference to the JLS.
>
> The enums probably do need to have a canonical translation specified,
> because there's more than one way to do it. On the face of it, the J2ME
> folks are best placed to define this.
Through what mechanism? Another JSR?
This seems rather heavyweight, and likely to delay
(or even prevent) use of the Isolate JSR.
It would be much more valuable, and less expensive, if
it were self-sufficient in this regard, and directly
applicable to Personal Basis Profile and CDC in general without
requiring a new JSR, or other specification activity.
This is not a technical problem - the mappings are easy enough.
It's a business/political issue, but one that's quite easy to
solve in the text of the Isolate JSR itself.
Bill
> Cheers,
>
>
> Miles
> _______________________________________________
> Isolate-interest mailing list
> Isolate-interest at altair.cs.oswego.edu
> http://altair.cs.oswego.edu/mailman/listinfo/isolate-interest
More information about the Isolate-interest
mailing list