uima-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Marshall Schor <...@schor.com>
Subject Re: Java 1.5 Generics
Date Fri, 09 Nov 2007 11:48:20 GMT
I actually had misunderstood your intent.  I thought you were proposing
to upgrade our user APIs (in some compatible way so as to not break
existing user code, of course) so that they took advantage of Java 1.5.

-Marshall

Jörn Kottmann wrote:
>> None yet that I know of.  Feel free to draft some kind of proposal, and
>> post here or perhaps on our wiki.
>
> If I got it right its possible to just insert generics everywhere in
> our code without
> breaking any code which does not use generics.
>
> The java compiler does a source-to-source translation and replaces the
> generics
> with explicit cast like its done now in our code. After the
> source-to-source translation
> the code should be the same as now.
>
> Eclipse has a re-factoring tool which can guess generics but does not
> always work correctly.
> Someone must dig trough the code and change all the generics in a semi
> automatic manner with
> the tool. Maybe it will help if all interfaces are converted first.
>
> I would offer to do this job for the uimaj-core project I already
> planned to take a closer look at
> the source code, so I can do it together.
>
> Jörn
>


Mime
View raw message