Jens Schauder opened SPR-17093 and commented
SimpleApplicationEventMulticaster.matchesClassCastMessage fails to match cases it should match in JDK 11.
The reason seems to be that instead of starting with the class name or module/class name the message now starts with "class " followed by the class name, which (I think) is the result of the Class.toString() method.
I came across this due to a failing build with Spring Data JDBC examples (https://travis-ci.org/spring-projects/spring-data-examples/jobs/407985295)
Affects: 4.3.18, 5.0.7, 5.1 RC1
Issue Links:
Referenced from: commits spring-projects/spring-data-examples@f31c83a
Backported to: 4.3.19
Jens Schauder opened SPR-17093 and commented
SimpleApplicationEventMulticaster.matchesClassCastMessagefails to match cases it should match in JDK 11.The reason seems to be that instead of starting with the class name or module/class name the message now starts with "class " followed by the class name, which (I think) is the result of the
Class.toString()method.I came across this due to a failing build with Spring Data JDBC examples (https://travis-ci.org/spring-projects/spring-data-examples/jobs/407985295)
Affects: 4.3.18, 5.0.7, 5.1 RC1
Issue Links:
Referenced from: commits spring-projects/spring-data-examples@f31c83a
Backported to: 4.3.19