1. 29 10月, 2014 1 次提交
  2. 29 7月, 2014 1 次提交
  3. 21 3月, 2014 1 次提交
    • S
      Polish ASM-based annotation processing · 796af90b
      Sam Brannen 提交于
      - AnnotationAttributesReadingVisitor no longer processes annotations
        from the java.lang.annotation package.
      
      - Simplified logic in AnnotationReadingVisitorUtils
        getMergedAnnotationAttributes().
      
      Issue: SPR-11574
      796af90b
  4. 19 3月, 2014 1 次提交
    • S
      Support Class meta-annotation attributes with ASM · 9ce0df89
      Sam Brannen 提交于
      Prior to this commit, AnnotationAttributesReadingVisitor treated Class
      annotation attributes as Strings instead of Classes. As a result,
      look-ups for Class attributes in meta-annotations failed with an
      IllegalArgumentException.
      
      This commit fixes this issue by consistently treating Class attributes
      as Classes in AnnotationAttributesReadingVisitor.
      
      Issue: SPR-11557
      9ce0df89
  5. 11 12月, 2013 1 次提交
  6. 28 9月, 2013 1 次提交
  7. 14 5月, 2013 1 次提交
  8. 09 5月, 2013 1 次提交
    • P
      Extend AnnotationMetadata and MethodMetadata · 8e445f3a
      Phillip Webb 提交于
      Update AnnotationMetadata and MethodMetadata to extend from a new
      AnnotatedTypeMetadata base interface containing the methods that are
      common to both. Also introduce new getAllAnnotationAttributes methods
      providing MultiValueMap access to both annotation and meta-annotation
      attributes.
      
      Existing classreading and standard implementations have been
      refactored to support the new interface.
      8e445f3a
  9. 01 5月, 2013 1 次提交
  10. 05 2月, 2013 1 次提交
    • P
      Polish formatting · f464a45b
      Phillip Webb 提交于
      Minor formatting polish across that codebase. Primarily fixing
      whitespace issues.
      f464a45b
  11. 02 1月, 2013 1 次提交
  12. 29 12月, 2012 1 次提交
  13. 10 8月, 2012 1 次提交
    • C
      Remove spring-asm and inline ASM 4 into spring-core · c16f18a5
      Chris Beams 提交于
      ASM 4.0 is generally compatibile with Java 7 classfiles, particularly
      including 'invokedynamic' instructions. This is important when
      considering that Spring's component-scanning support is internally
      ASM-based and it is increasingly likely that component classes having
      invokedynamic instructions may be encountered and read by ASM.
      This upgrade, then, is primarily preventive in nature.
      
      Changes include:
      
       - upgrade from ASM 2.2.3 to ASM 4.0
      
       - adapt to ASM API changes as necessary throughout spring-core,
         resulting in no impact to the public Spring API.
      
       - remove dedicated spring-asm module
      
       - use new :spring-core:asmRepackJar task to repackage
         org.objectweb.asm => org.springframework.asm as per usual and write
         repackaged classes directly into spring-core jar
      
      The choice to eliminate the spring-asm module altogether and instead
      inline the repackaged classes directly into spring-core is first to
      eliminate an otherwise unnecessary second jar. spring-core has a
      non-optional dependency on spring-asm meaning it is always on the
      application classpath. This change simplifies that situation by
      consoliding two jars into one. The second reason for this choice is in
      anticipation of upgrading CGLIB to version 3 and inlining it into
      spring-core as well. See subsequent commit for details.
      
      Issue: SPR-9669
      c16f18a5
  14. 27 5月, 2012 1 次提交
    • C
      Reduce log level for message re: missing annotation · f55a4a1a
      Chris Beams 提交于
      Previously (since Spring 3.1.1) RecursiveAnnotationAttributesVisitor
      logs at level WARN when ASM parsing encounters an annotation or an (enum
      used within an annotation) that cannot be classloaded. This is not
      necessarily indicative of an error, e.g. JSR-305 annotations such as
      @Nonnull may be used only for static analysis purposes, but because
      these annotations have runtime retention, they remain present in the
      bytecode. Per section 9.6.1.2 of the JLS, "An annotation that is present
      in the binary may or may not be available at run-time via the reflective
      libraries of the Java platform."
      
      This commit lowers the log level of these messages from warn to debug,
      but leaves at warn level other messages dealing with the ability
      reflectively read enum values from within annotations.
      
      Issue: SPR-9233
      f55a4a1a
  15. 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
  16. 21 12月, 2011 2 次提交
    • C
      Convert CRLF (dos) to LF (unix) · 88913f2b
      Chris Beams 提交于
      Prior to this change, roughly 5% (~300 out of 6000+) of files under the
      source tree had CRLF line endings as opposed to the majority which have
      LF endings.
      
      This change normalizes these files to LF for consistency going forward.
      
      Command used:
      
      $ git ls-files | xargs file | grep CRLF | cut -d":" -f1 | xargs dos2unix
      
      Issue: SPR-5608
      88913f2b
    • C
      Convert CRLF (dos) to LF (unix) · ae72cf2f
      Chris Beams 提交于
      Prior to this change, roughly 5% (~300 out of 6000+) of files under the
      source tree had CRLF line endings as opposed to the majority which have
      LF endings.
      
      This change normalizes these files to LF for consistency going forward.
      
      Command used:
      
      $ git ls-files | xargs file | grep CRLF | cut -d":" -f1 | xargs dos2unix
      
      Issue: SPR-5608
      ae72cf2f
  17. 12 11月, 2009 1 次提交
  18. 22 7月, 2009 1 次提交
  19. 26 4月, 2009 1 次提交
  20. 24 4月, 2009 1 次提交