1. 20 5月, 2014 1 次提交
  2. 30 4月, 2014 1 次提交
  3. 29 4月, 2014 1 次提交
  4. 24 4月, 2014 1 次提交
  5. 21 4月, 2014 1 次提交
  6. 17 4月, 2014 1 次提交
  7. 12 2月, 2014 1 次提交
  8. 07 2月, 2014 1 次提交
  9. 05 1月, 2014 1 次提交
  10. 11 12月, 2013 1 次提交
  11. 26 11月, 2013 1 次提交
    • P
      Fix remaining compiler warnings · 59002f24
      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
      59002f24
  12. 30 10月, 2013 1 次提交
  13. 13 9月, 2013 1 次提交
    • O
      Add support for Objenesis proxy creation. · 1f9e8f68
      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
      1f9e8f68
  14. 28 8月, 2013 1 次提交
  15. 24 7月, 2013 1 次提交
  16. 20 7月, 2013 1 次提交
  17. 14 5月, 2013 1 次提交
  18. 02 5月, 2013 1 次提交
  19. 29 3月, 2013 1 次提交
  20. 13 3月, 2013 1 次提交
  21. 05 2月, 2013 1 次提交
    • P
      Polish formatting · f464a45b
      Phillip Webb 提交于
      Minor formatting polish across that codebase. Primarily fixing
      whitespace issues.
      f464a45b
  22. 11 1月, 2013 1 次提交
  23. 02 1月, 2013 1 次提交
  24. 29 12月, 2012 7 次提交
  25. 21 12月, 2012 1 次提交
  26. 13 12月, 2012 1 次提交
  27. 09 11月, 2012 1 次提交
  28. 31 10月, 2012 1 次提交
  29. 11 9月, 2012 1 次提交
    • P
      Protect against non-deterministic method order in JDK7 · a9a90cab
      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
      a9a90cab
  30. 10 8月, 2012 1 次提交
    • C
      Upgrade to CGLIB 3 and inline into spring-core · 92500ab9
      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
      92500ab9
  31. 17 5月, 2012 1 次提交
    • P
      Fix compiler warnings · 13239a0c
      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
      13239a0c
  32. 31 1月, 2012 1 次提交
    • C
      Rename modules {org.springframework.*=>spring-*} · 02a4473c
      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
      02a4473c