• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Tim Cooke
  • paul wheaton
  • Jeanne Boyarsky
  • Ron McLeod
Sheriffs:
  • Paul Clapham
  • Liutauras Vilda
  • Devaka Cooray
Saloon Keepers:
  • Tim Holloway
  • Roland Mueller
Bartenders:

JDK1.4 migration

 
Greenhorn
Posts: 3
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Impact on migration from jdk1.3 to jdk1.4
 
Ranch Hand
Posts: 704
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
You will need to recompile your code with the -deprecation tag to see if any of the methods used in your 1.3 code have been deprecated. If there are methods that have been deprecated, read the javadocs and understand why they were deprecated before rewriting. Apart from that I see no reason for your code to stop functioning.
JDK 1.4 added some cool features such as Assertion and Regular Expressions, do a search on google for new features in jdk1.4 for more information.
 
Ranch Hand
Posts: 8946
Firefox Browser Spring Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Check out the new features here
http://java.sun.com/j2se/1.4.2/docs/relnotes/features.html
 
Ranch Hand
Posts: 4982
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

Impact on migration from jdk1.3 to jdk1.4


Depends on what features (APIs) you have used in 1.3, you would need to check with whether your APIs in 1.3 are deprecated.

Basically, there should be no problem, unless you have used some reserved words (like assert), and you force compiler to compile your codes based on J2SE 1.4.

Nick
 
Did you ever grow anything in the garden of your mind? - Fred Rogers. Tiny ad:
We need your help - Coderanch server fundraiser
https://coderanch.com/wiki/782867/Coderanch-server-fundraiser
reply
    Bookmark Topic Watch Topic
  • New Topic