Java 9: Avoid illegal reflective access warning for SpEL method reference [SPR-16845] #21385
Labels
in: core
Issues in core modules (aop, beans, core, context, expression)
type: enhancement
A general enhancement
Milestone
Cristian Vasile Mocanu opened SPR-16845 and commented
When running spring under Java 9 (build 9.0.4+11), I get the following in the console (running with
--illegal-access=warn
):Running with
--illegal-access=debug
, reveals the stacktrace:The warning comes from this SpEL expression:
where propertiesFilePath is of type
java.nio.file.Path
.Affects: 5.0.6
The text was updated successfully, but these errors were encountered: