mercredi 9 septembre 2015

Javac -parameters

What are the downsides to using the -parameters argument to javac (with Java 8)?

I'm wanting to use it to remove a bit more boilerplate in some Jackson data classes and this seems like a good way to do it. The main disadvantage I see is that it makes the compiled classes larger. Though not by much. One project I've been working with:

  • jar size without -parameters: 107k
  • jar size with -parameters: 110k

Are there other known downsides?





Aucun commentaire:

Enregistrer un commentaire