Closed
Description
George Turner Jr opened SPR-12448 and commented
When using the following configuration for a Freemarker template in Java 8, Spring throws a java.beans.IntrospectionException. This configuration works fine with Java 7.
<bean class="freemarker.template.Configuration">
<property name="templateLoader">
<bean class="org.springframework.ui.freemarker.SpringTemplateLoader">
<constructor-arg>
<bean class="org.springframework.core.io.DefaultResourceLoader"/>
</constructor-arg>
<constructor-arg value="/freemarker"/>
</bean>
</property>
</bean>
Affects: 4.0.5
Issue Links:
- Java 8 bridge method handling can lead to false positive detection of autowired annotations [SPR-12187] #16801 Java 8 bridge method handling can lead to false positive detection of autowired annotations
Referenced from: commits 282aded, 1f45dd2
Backported to: 4.0.8