Go to file
Chris Beams 53bf88ebaa Further compensation for STS version mismatch
Current STS version of Spring (3.0.5) does not contain
the BeanUtils.instantiateClass(Class<?>, Class<T>) signature
that was added in 3.1.0, therefore NoSuchMethodErrors are
being thrown when STS classloads and delegates to
3.1.0 NamespaceHandler and BeanDefinitionParser implementations
on the user project classpath.

In this case, it's AbstractSpecificationBeanDefinitionParser
doing the calling to the unknown new method.  In this specific
example, reverting back to the old single-arg signature is actually
not a problem, because it does accept Class<T> and returns an
instance of type T, which was the desired behavior in the first
place.

The newer signature remains in order to accommodate callers
who do not know the generic type of the Class to be instantiated
(i.e. Class<?>), but do know the type that it should be assignable
to -- this becomes the second argument Class<T>, and an instance
of type T is returned (if indeed it is assignable to the specified
type; otherwise IllegalArgumentException.

git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@3992 50f2f4bb-b051-0410-bef5-90022cba6387
2011-02-10 17:59:26 +00:00
build-spring-framework [SPR-7953] BeanDefinitionVisitor now actually visits factory method names. 2011-02-10 13:01:58 +00:00
org.springframework.aop Fix STS compatibility issues; other improvements 2011-02-09 16:44:26 +00:00
org.springframework.asm Merge 3.1.0 development branch into trunk 2010-10-25 19:48:20 +00:00
org.springframework.aspects Include license.txt and notice.txt in module JARs 2011-02-09 06:56:40 +00:00
org.springframework.beans Re-introduce and deprecate BDPD.initDefaults(Element) 2011-02-10 13:33:09 +00:00
org.springframework.context Further compensation for STS version mismatch 2011-02-10 17:59:26 +00:00
org.springframework.context.support moved cache abstraction from context.support to context 2011-02-07 17:41:25 +00:00
org.springframework.core removed ConversionService/TypeConverter convenience methods in order to restore 3.0's SPI (for backwards compatibility with implementers) 2011-02-10 01:24:08 +00:00
org.springframework.expression removed ConversionService/TypeConverter convenience methods in order to restore 3.0's SPI (for backwards compatibility with implementers) 2011-02-10 01:24:08 +00:00
org.springframework.instrument Include license.txt and notice.txt in module JARs 2011-02-09 06:56:40 +00:00
org.springframework.instrument.tomcat Include license.txt and notice.txt in module JARs 2011-02-09 06:56:40 +00:00
org.springframework.integration-tests removed ConversionService/TypeConverter convenience methods in order to restore 3.0's SPI (for backwards compatibility with implementers) 2011-02-10 01:24:08 +00:00
org.springframework.jdbc switched to create the PreparedStatementCreatorFactory using a list of SqlParameters to preserve type names (SPR-7699) 2011-02-09 13:58:30 +00:00
org.springframework.jms Include license.txt and notice.txt in module JARs 2011-02-09 06:56:40 +00:00
org.springframework.orm Include license.txt and notice.txt in module JARs 2011-02-09 06:56:40 +00:00
org.springframework.oxm Include license.txt and notice.txt in module JARs 2011-02-09 06:56:40 +00:00
org.springframework.spring-library Merge 3.1.0 development branch into trunk 2010-10-25 19:48:20 +00:00
org.springframework.spring-parent Add hamcrest to beans pom in the right place to make tests compile 2010-11-16 17:12:32 +00:00
org.springframework.test Include license.txt and notice.txt in module JARs 2011-02-09 06:56:40 +00:00
org.springframework.transaction turned to package visibility 2011-02-10 01:58:21 +00:00
org.springframework.web Include license.txt and notice.txt in module JARs 2011-02-09 06:56:40 +00:00
org.springframework.web.portlet Include license.txt and notice.txt in module JARs 2011-02-09 06:56:40 +00:00
org.springframework.web.servlet Fix STS compatibility issues; other improvements 2011-02-09 16:44:26 +00:00
org.springframework.web.struts [SPR-7850][SPR-7851] Upgraded to JUnit 4.8.1 and TestNG 5.12.1; added changelog entries for 3.1.0.M1. 2010-12-30 08:00:58 +00:00
spring-framework-reference Introduce FeatureSpecification support 2011-02-08 14:42:33 +00:00
src/test/java/org/springframework/core/env Merge 3.1.0 development branch into trunk 2010-10-25 19:48:20 +00:00
.gitignore M1 cut of environment, profiles and property work (SPR-7508) 2011-01-03 09:04:34 +00:00
build.properties Merge 3.1.0 development branch into trunk 2010-10-25 19:48:20 +00:00
build.versions [SPR-7850][SPR-7851] Upgraded to JUnit 4.8.1 and TestNG 5.12.1; added changelog entries for 3.1.0.M1. 2010-12-30 08:00:58 +00:00
ci-build.properties adding properties file to simplify ant use in Bamboo CI build 2008-12-17 15:47:14 +00:00
eclipse-code-formatter.xml h2 embedded db support; updated formatting conventions not to auto-format javadoc; added hsqldb and h2 to jdbc maven pom as optional deps 2009-05-09 22:27:05 +00:00
spring-framework.ipr Merge 3.1.0 development branch into trunk 2010-10-25 19:48:20 +00:00
spring-framework.psf Renamed org.springframework.instrument.classloading module to org.springframework.instrument.tomcat 2009-09-25 12:51:58 +00:00