- 20 5月, 2014 1 次提交
-
-
由 Juergen Hoeller 提交于
-
- 30 4月, 2014 1 次提交
-
-
由 Juergen Hoeller 提交于
AbstractAutoProxyCreator and AbstractAdvisingBeanPostProcessor consistently not considering configuration callbacks and internal language interfaces as reasonable proxy interfaces Issue: SPR-11715
-
- 29 4月, 2014 1 次提交
-
-
由 Juergen Hoeller 提交于
AbstractAdvisingBeanPostProcessor uses target class check for existing proxy but checks against actual exposed object otherwise (catching introductions) Issue: SPR-11725
-
- 24 4月, 2014 1 次提交
-
-
由 Juergen Hoeller 提交于
-
- 21 4月, 2014 1 次提交
-
-
由 Sam Brannen 提交于
-
- 17 4月, 2014 1 次提交
-
-
由 Juergen Hoeller 提交于
Issue: SPR-11618
-
- 12 2月, 2014 1 次提交
-
-
由 Juergen Hoeller 提交于
Issue: SPR-11416
-
- 07 2月, 2014 1 次提交
-
-
由 Juergen Hoeller 提交于
Issue: SPR-11398
-
- 05 1月, 2014 1 次提交
-
-
由 Juergen Hoeller 提交于
-
- 11 12月, 2013 1 次提交
-
-
由 Juergen Hoeller 提交于
Issue: SPR-11107
-
- 26 11月, 2013 1 次提交
-
-
由 Phillip Webb 提交于
Fix remaining Java compiler warnings, mainly around missing generics or deprecated code. Also add the `-Werror` compiler option to ensure that any future warnings will fail the build. Issue: SPR-11064
-
- 30 10月, 2013 1 次提交
-
-
由 Juergen Hoeller 提交于
Issue: SPR-10430
-
- 13 9月, 2013 1 次提交
-
-
由 Oliver Gierke 提交于
Extended DefaultAopProxyFactory to create Objenesis based proxies if the library is on the classpath. This allows classes without a default constructor being CGLib proxied. We're now falling back to original CGLib based behavior in case the proxy creation using Objenesis fails. Objenesis 2.0 is now inlined into spring-core to avoid interfering with other Objenesis versions on the classpath. Issue: SPR-10594
-
- 28 8月, 2013 1 次提交
-
-
由 Juergen Hoeller 提交于
-
- 24 7月, 2013 1 次提交
-
-
由 Juergen Hoeller 提交于
-
- 20 7月, 2013 1 次提交
-
-
由 Phillip Webb 提交于
Port the latest unreleased UndeclaredThrowableStrategy implementation from cglib to fix a memory-leak present in v3. Issue: SPR-10709
-
- 14 5月, 2013 1 次提交
-
-
由 Rob Winch 提交于
Issue: SPR-10130
-
- 02 5月, 2013 1 次提交
-
-
由 Juergen Hoeller 提交于
-
- 29 3月, 2013 1 次提交
-
-
由 Juergen Hoeller 提交于
Use JDK 1.6's Collections.newSetFromMap instead of manually accessing Maps with dummy Boolean values
-
- 13 3月, 2013 1 次提交
-
-
由 Juergen Hoeller 提交于
Just AsyncAnnotationBeanPostProcessor switches "beforeExistingAdvisors" to "true" by default. So effectively, MethodValidation/PersistenceExceptionTranslationPostProcessor apply after existing advisors by default again, fixing the 3.1->3.2 regression. Issue: SPR-10309
-
- 05 2月, 2013 1 次提交
-
-
由 Phillip Webb 提交于
Minor formatting polish across that codebase. Primarily fixing whitespace issues.
-
- 11 1月, 2013 1 次提交
-
-
由 Juergen Hoeller 提交于
Issue: SPR-10144
-
- 02 1月, 2013 1 次提交
-
-
由 Chris Beams 提交于
This reverts commit 45fa5082, reversing changes made to a312d900.
-
- 29 12月, 2012 7 次提交
-
-
由 Chris Beams 提交于
-
由 Chris Beams 提交于
Issue: SPR-10130
-
由 Chris Beams 提交于
-
由 Phillip Webb 提交于
Fix serialization warnings by applying @SuppressWarnings("serial") when appropriate. In certain cases and for unknown reasons, a correctly-placed @SuppressWarnings("serial") annotation will fix the warning at the javac level (i.e. the Gradle command-line), but will produce an "unnecessary @SuppressWarnings" warning within Eclipse. In these cases, a private static final serialVersionUID field has been added with the default value of 1L.
-
由 Chris Beams 提交于
Issue: SPR-10128
-
由 Phillip Webb 提交于
Issue: SPR-10127
-
由 Phillip Webb 提交于
find . -type f -name "*.java" -or -name "*.aj" | \ xargs perl -p -i -e "s/[ \t]*$//g" {} \; Issue: SPR-10127
-
- 21 12月, 2012 1 次提交
-
-
由 Juergen Hoeller 提交于
Issue: SPR-10108
-
- 13 12月, 2012 1 次提交
-
-
由 Juergen Hoeller 提交于
In particular, avoiding synchronized Sets and Maps wherever possible (preferring a ConcurrentHashMap even instead of a synchronized Set) and specifying appropriate ConcurrentHashMap initial capacities (even if we end up choosing 16).
-
- 09 11月, 2012 1 次提交
-
-
由 Juergen Hoeller 提交于
DefaultSingletonBeanRegistry avoids singletonObjects lock wherever possible for non-singleton factory performance Issue: SPR-9819
-
- 31 10月, 2012 1 次提交
-
-
由 Dave Syer 提交于
Throw an AopInvocationException when an AOP advisor returns null on a method that should return a primitive type. Issue: SPR-4675
-
- 11 9月, 2012 1 次提交
-
-
由 Phillip Webb 提交于
- Allow reset of GlobalAdvisorAdapterRegistry Provide a reset() method allowing the GlobalAdvisorAdapterRegistry instance to be replaced with a fresh instance. This method has primarily been added to allow unit tests to leave the registry in a known state. - Protect against the fact that calls to configuration class methods my occur in a random order. Issue: SPR-9779
-
- 10 8月, 2012 1 次提交
-
-
由 Chris Beams 提交于
CGLIB 3 has been released in order to depend on ASM 4, which Spring now depends on internally (see previous commit). This commit eliminates spring-beans' optional dependency on cglib-nodep v2.2 and instead repackages net.sf.cglib => org.springframework.cglib much in the same way we have historically done with ASM. This change is beneficial to users in several ways: - Eliminates the need to manually add CGLIB to the application classpath; especially important for the growing number of @Configuration class users. Java-based configuration functionality, along with proxy-target-class and method injection features now work 'out of the box' in Spring 3.2. - Eliminates the possibility of conflicts with other libraries that may dependend on differing versions of CGLIB, e.g. Hibernate 3.3.1.ga and its dependency on CGLIB 2.1.3 would easily cause a conflict if the application were depending on CGLIB 3 for Spring-related purposes. - Picks up CGLIB 3's changes to support ASM 4, meaning that CGLIB is that much less likely to work well in a Java 7 environment due to ASM 4's support for transforming classes with invokedynamic bytecode instructions. On CGLIB and ASM: CGLIB's own dependency on ASM is also transformed along the way to depend on Spring's repackaged org.springframework.asm, primarily to eliminate unnecessary duplication of ASM classfiles in spring-core and in the process save around 100K in the final spring-core JAR file size. It is coincidental that spring-core and CGLIB currently depend on the exact same version of ASM (4.0), but it is also unlikely to change any time soon. If this change does occur and versions of ASM drift, then the size optimization mentioned above will have to be abandoned. This would have no compatibility impact, however, so this is a reasonable solution now and for the forseeable future. On a mysterious NoClassDefFoundError: During the upgrade to CGLIB 3.0, Spring test cases began failing due to NoClassDefFoundErrors being thrown from CGLIB's DebuggingClassWriter regarding its use of asm-util's TraceClassVisitor type. previous versions of cglib-nodep, particularly 2.2, did not cause this behavior, even though cglib-nodep has never actually repackaged and bundled asm-util classes. The reason for these NoClassDefFoundErrors occurring now is still not fully understood, but appears to be due to subtle JVM bytecode preverification rules. The hypothesis is that due to minor changes in DebuggingClassWriter such as additional casts, access to instance variables declared in the superclass, and indeed a change in the superclass hierarchy, preverification may be kicking in on the toByteArray method body, at which point the reference to the missing TraceClassVisitor type is noticed and the NCDFE is thrown. For this reason, a dummy implementation of TraceClassVisitor has been added to spring-core in the org.springframework.asm.util package. This class simply ensures that Spring's own tests never result in the NCDFE described above, and more importantly that Spring's users never encounter the same. Other changes include: - rename package-private Cglib2AopProxy => CglibAopProxy - eliminate all 'cglibAvailable' checks, warnings and errors - eliminate all 'CGLIB2' language in favor of 'CGLIB' - eliminate all mention in reference and java docs of needing to add cglib(-nodep) to one's application classpath Issue: SPR-9669
-
- 17 5月, 2012 1 次提交
-
-
由 Philippe Marschall 提交于
This patch fixes several compiler warnings that do not point to code problems. Two kinds of warnings are fixed. First in a lot of cases @SuppressWarnings("unchecked") is used although there are no unchecked casts happening. This seems to be a leftover from when the code base was on Java 1.4, now that the code base was moved to Java 1.5 these are no longer necessary. Secondly there some places where the raw types of List and Class are used where there wildcard types (List<?> and Class<?>) would work just as well without causing any raw type warnings. These changes are beneficial particularly when working in Eclipse or other IDEs because it reduces 'noise', helping to isolate actual potential problems in the code. The following changes have been made: - remove @SuppressWarnings where no longer needed - use wildcard types instead of raw types where possible
-
- 31 1月, 2012 1 次提交
-
-
由 Chris Beams 提交于
This renaming more intuitively expresses the relationship between subprojects and the JAR artifacts they produce. Tracking history across these renames is possible, but it requires use of the --follow flag to `git log`, for example $ git log spring-aop/src/main/java/org/springframework/aop/Advisor.java will show history up until the renaming event, where $ git log --follow spring-aop/src/main/java/org/springframework/aop/Advisor.java will show history for all changes to the file, before and after the renaming. See http://chrisbeams.com/git-diff-across-renamed-directories
-