JEP 118 Parameter Names by default

Steven Schlansker stevenschlansker at gmail.com
Wed Apr 27 20:18:04 UTC 2016


Hi core-libs-dev,

Apologies in advance if this is the wrong list, I was torn between this
one and compiler-dev, but I'm already subscribed here so we'll try this first :)

I am trying to understand why the javac '-parameters' option is not enabled by
default.

Normally it would not be too onerous, but due to some limitations in e.g. Maven
it is surprisingly difficult to configure correctly in a world where you must
build code that both targets e.g. 1.8 and 1.7 (and soon 1.9):
http://mail-archives.apache.org/mod_mbox/maven-dev/201604.mbox/browser

While I am happy to work with the Maven project to improve their support
for sending compiler arguments more flexibly, I did wonder -- why is
this feature not on by default?

I did some brief searching and was unable to come up with any downside,
but maybe I missed something obvious?  Can we turn it on by default for Java 9?

Thanks for humoring me,
Steven





More information about the core-libs-dev mailing list