Using java 5 features in plugin development [message #287116] |
Fri, 24 June 2005 04:15  |
Eclipse User |
|
|
|
Originally posted by: michael.illgner.email.de
Hi,
It is possible or allowed to use java 5.0 features like generics in
plugin development ?
What happens if a typed collection is used as an input parameter for a
plugin ?
|
|
|
|
|
|
Re: Using java 5 features in plugin development [message #287328 is a reply to message #287247] |
Tue, 28 June 2005 15:36  |
Eclipse User |
|
|
|
Originally posted by: eclipse.rizzoweb.com
Michael Illgner wrote:
> Eric Rizzo wrote:
>
>> Michael Illgner wrote:
>>
> ...
>
>> Doing so will mean that all users of your plugin will be required to
>> run their Eclipse with a 1.5 JVM. I would recommend against that,
>> since adoption is still slow or uncertain at best.
>
>
> So, if I build an RCP application it should be alright.
Eclipse already runs fine under a 1.5 JVM so I would think you're OK.
> Our server staff wants to use jdk 5.0 features, and so some of the used
> 5.0 classes are leaking through the server API to the RCP frontend ...
Oooh, that sounds not-too-friendly. The client<->server API should be as
clean and simple as possible, and have as few dependencies as possible
(I consider "latest and greatest" Java version to be a dependency on par
with depending on a third-party library, which for an API is a
questionable design decision IMO).
HTH,
Eric
|
|
|
Powered by
FUDForum. Page generated in 0.05284 seconds