Use -parameters
compiler option instead of enhancing classes
#1043
Labels
Milestone
-parameters
compiler option instead of enhancing classes
#1043
After upgrading to Java 8 we can simplify Play compilation/classloading mechanism.
Namely, Java 8 reflection allows to get names of parameters for any method.
Currently Play has a
LocalvariablesNamesEnhancer
that has to enhance classes, adding special "hidden" fields containing names of parameters for every method. Now this rocket science can be simplified. :)We just need to upgrade to Java 8. Let's do it!
The text was updated successfully, but these errors were encountered: