Javac options

What are the disadvantages of using an argument -parametersfor javac (since Java 8)?

I want to use it to remove a little more template in some Jackson data classes, and this seems like a good way to do this. The main drawback that I see is that it compiles classes. Although not very. One project I worked with:

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

Are there other known flaws?

+3
source share

Source: https://habr.com/ru/post/1677535/


All Articles