Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsWhite Papers
Discussion GroupsFirst AidDatabasesJavaBeansGUIJava 3DVirtual MachineCORBASecurityToolsGeneral
Java DirectoryOpen Source ProjectsSample Book ChaptersUser GroupsWeb Resources
Related Topics
Databases.NETMore Topics ...

Java Forum / General / January 2006

Tip: Looking for answers? Try searching our database.

Java generics migration

Thread view: 
Dave Benjamin - 20 Jan 2006 19:45 GMT
Now that Java 5 has been out for a little while, I wonder how the
migration experience has gone for maintainers of existing Java projects.
I work on a medium-sized (~150 KLOC) Java application, and I'm starting
to look into a migration strategy, especially relating to the
collections classes.

Are there some documents on the web that I should be reading to get my
bearings on this situation? I found this article:

http://pag.csail.mit.edu/pubs/genericlibs-tip-ecoop2005.pdf

The idea of automated refactoring sounds helpful. Do any IDEs currently
offer support in the analysis of existing code and/or semi-automated
conversion to the generic container classes?

Is there a practical way of causing the compiler to emit strict warnings
about old-style usage of container classes and other "unsafe" operations
on a file-by-file basis, so that it's not all-or-nothing? I fear the
deluge of compiler warnings resulting from a project-wide compiler
setting...

I'd love to hear any of your experiences about making the switch.

Thanks,
Dave
IchBin - 21 Jan 2006 01:43 GMT
> Now that Java 5 has been out for a little while, I wonder how the
> migration experience has gone for maintainers of existing Java projects.
[quoted text clipped - 21 lines]
> Thanks,
> Dave

You can use the  -Xlint:unchecked compiler option

There is a Generics.PDF out at Sun. Don't have the link on me.

I found some informational PDF's here..

http://www.agiledeveloper.com/download.aspx

 enums December
 Java 5 Features - Part II
 Java 5 Features - Part I
 Generics in Java - Part III
 Generics in Java - Part II
 Generics in Java - Part I

Signature

Thanks in Advance...
IchBin, Pocono Lake, Pa, USA
http://weconsultants.servebeer.com/JHackerAppManager
__________________________________________________________________________

'If there is one, Knowledge is the "Fountain of Youth"'
-William E. Taylor,  Regular Guy (1952-)



Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.