Link Details

Link 983263 thumbnail
User 433951 avatar

By Ananth Chellathurai
via openjdk.java.net
Published: Jun 16 2013 / 06:49

To reduce the maintenance costs of javac, this JEP defines a policy for retiring old -source and -target options. In JDK 8, use of a source or target of 1.5 or earlier will be deprecated and in JDK 9, support for a source or target of 1.5 or earlier will be removed.
  • 22
  • 0
  • 2558
  • 1962

Comments

Add your comment
User 186624 avatar

dwschulze replied ago:

0 votes Vote down Vote up Reply

It will drop support for version 1.5 code too. It's a "three back" policy which means 1.8, 1.7, and 1.6.

User 293337 avatar

npiv replied ago:

0 votes Vote down Vote up Reply

1.5 will be deprecated in 1.8. So no, it won't drop support from 1.5 until 1.9

User 186624 avatar

dwschulze replied ago:

1 votes Vote down Vote up Reply

Yes, that's what I said. The headline for this entry is incorrect. Javac 9 will support 1.8, 1.7, and 1.6 but not 1.5.

User 226303 avatar

devdanke replied ago:

0 votes Vote down Vote up Reply

Some backward compatibility is good, too much drags Java down. I'm glad javac will stop supporting ancient Java versions. Oracle should also remove long deprecated parts of the standard library, such as Thread start(), stop(), resume().

Add your comment


Html tags not supported. Reply is editable for 5 minutes. Use [code lang="java|ruby|sql|css|xml"][/code] to post code snippets.

Java Performance Optimization
Written by: Pierre-Hugues Charbonneau
Featured Refcardz: Top Refcardz:
  1. Design Patterns
  2. OO JS
  3. Cont. Delivery
  4. Java EE7
  5. HTML5 Mobile
  1. Node.js
  2. Debugging JavaScript
  3. OO JS
  4. JSON
  5. Ajax