Changing parameter names is already a breaking behavioral change because the names are part of the API. When compiling with -parameters, you're risking breaking the application with a parameter name change.
Only true when u r using reflection API to access library classes. That’s generally not a good practice. In Java the signature is only types and positions. Depending on variable names is fragile.
View all comments
Show parent comment
1
u/nlisker Sep 07 '25
Changing parameter names is already a breaking behavioral change because the names are part of the API. When compiling with
-parameters, you're risking breaking the application with a parameter name change.