JDK-8167369 : Re-evaluate impact of running with old javac -source/-target options
  • Type: Enhancement
  • Component: tools
  • Sub-Component: javac
  • Affected Version: 9
  • Priority: P2
  • Status: Resolved
  • Resolution: Won't Fix
  • Submitted: 2016-10-07
  • Updated: 2017-01-17
  • Resolved: 2017-01-16
Related Reports
Relates :  
Relates :  
Description
For ease of migration, we should consider having javac emit a warning rather than an error, when old/retired -source and -target options are specified.  
Comments
Note JDK-8011044, which added a warning into JDK 8, to warn that support for the older options, including 1.4, would be removed in a future release.
17-01-2017

After due analysis, this is likely to cause more problems than it fixes. Partly, this is against the policy of JEP 182, but more significantly, the code for supporting 1.4 has been removed from javac, so we would either have to replace that code (completely negating JEP 182) or else treat 1.4 as "something else", such as the "oldest supported version", which could cause syntax errors if the code was truly intended for -source 1.4.
16-01-2017