Juergen Hoeller
97bd0ccfec
Polishing
12 years ago
Juergen Hoeller
d2ef6dcb8d
Polishing
12 years ago
Juergen Hoeller
bff2bf2cdb
AbstractAutowireCapableBeanFactory avoids early FactoryBean instantiation on currently created configuration bean
...
Issue: SPR-12141
(cherry picked from commit 4432c41 )
12 years ago
Juergen Hoeller
72d62a7113
Cache.get(key, type) explicitly defines an IllegalStateException in case of a type mismatch
...
Issue: SPR-12145
(cherry picked from commit 2f93759 )
12 years ago
Juergen Hoeller
93ad7f8def
Polishing
12 years ago
Juergen Hoeller
e324c2ab4a
Polishing
12 years ago
Juergen Hoeller
25971d9927
Consistent attribute documentation/formatting in spring-context and spring-mvc schemas
...
(cherry picked from commit b5763fe )
12 years ago
Juergen Hoeller
21d0ce5af8
DefaultListableBeanFactory defensively handles BeanDefinition access in getBean(Class)
...
Issue: SPR-10542
(cherry picked from commit 9d3d6d5 )
12 years ago
Juergen Hoeller
f418e6e981
Polishing
12 years ago
Juergen Hoeller
0c0d23d0f4
Polishing
12 years ago
Juergen Hoeller
a31ebb6c1e
Polishing
12 years ago
Juergen Hoeller
a7492fa55b
Polishing
12 years ago
Juergen Hoeller
c08ded769a
Polishing (includes varargs for selected String array setters)
12 years ago
Juergen Hoeller
d61353db51
AnnotatedElementUtils adapts post-processed values to AnnotationAttributes as well
...
Issue: SPR-12065
(cherry picked from commit ef51d4d )
12 years ago
Juergen Hoeller
9ad6618207
Polishing
12 years ago
Juergen Hoeller
6e95b2613e
Polishing
12 years ago
Juergen Hoeller
acbd61b87a
ConcurrentMapCacheManager recreates caches in case of setAllowNullValues change
...
Issue: SPR-12026
(cherry picked from commit 7848412 )
12 years ago
Juergen Hoeller
dcb83c2daf
Autowiring rejects self references to a factory method on the same bean as well
...
Issue: SPR-12018
(cherry picked from commit 496492b )
12 years ago
Juergen Hoeller
abd5f18e85
AbstractApplicationContext logs initialization exception before trying to cancel refresh attempt
...
Issue: SPR-12010
(cherry picked from commit 5e2fbe7 )
12 years ago
Juergen Hoeller
ed88155f55
Reverted test for 1.8 bytecode parsing - 4.0.x tests are still on target 1.7
...
Issue: SPR-11979
12 years ago
Juergen Hoeller
10a039000b
Test ASM5's bytecode parsing of INVOKESPECIAL/STATIC on interfaces
...
Issue: SPR-11979
(cherry picked from commit 29f6f3d )
12 years ago
Juergen Hoeller
adb73d5f35
Remaining polishing
12 years ago
Juergen Hoeller
7eee7d2e30
Polishing
...
Issue: SPR-8045
12 years ago
Juergen Hoeller
48f753f368
Polishing (backported from master)
12 years ago
Juergen Hoeller
c16032b98a
Consistent declaration of private static final logger variables
...
Issue: SPR-11905
(cherry picked from commit 18131bf )
12 years ago
Juergen Hoeller
178d58cc75
ConfigurationClassParser falls back to ASM-based resolution of member classes in case of NoClassDefFoundError
...
Issue: SPR-11844
(cherry picked from commit 6aa9c40 )
12 years ago
Juergen Hoeller
7b38b41bf5
ConfigurationClassPostProcessor skips pre-processed bean definitions now (avoiding side effects in case of multiple CCPPs)
...
Issue: SPR-11858
(cherry picked from commit b625512 )
12 years ago
Juergen Hoeller
0a34f86333
MBeanExportConfiguration's SpecificPlatform properly calls afterPropertiesSet
...
Also makes the nested SpecificPlatform enum public for Spring Boot to reuse it.
Issue: SPR-11877
(cherry picked from commit 6f68b03 )
12 years ago
Rossen Stoyanchev
87077d3fad
Add support for setting removeOnCancelPolicy
...
This change introduces removeOnCancelPolicy on ThreadPoolTaskScheduler
and ScheduledExecutorFactoryBean and sets it to true for SockJS.
This ensures that cancelled tasks are removed immediately to avoid
the "unbounded retention of cancelled tasks" that is mentioned in
the Javadoc ScheduledThreadPoolExecutor:
"By default, such a cancelled task is not automatically removed from
the work queue until its delay elapses. While this enables further
inspection and monitoring, it may also cause unbounded retention of
cancelled tasks. To avoid this, set setRemoveOnCancelPolicy to true,
which causes tasks to be immediately removed from the work queue at
time of cancellation."
This is a backport for:
7441f23012
Issue: SPR-11918
12 years ago
Juergen Hoeller
c70a81a805
Javadoc fixes
12 years ago
Juergen Hoeller
7d78c65187
Properly evaluate @Conditional in case of multiple imports for same config class (fixing regression in Spring Boot)
...
Issue: SPR-11788
12 years ago
Juergen Hoeller
ea9ad4ee9b
Properly evaluate @Conditional in case of multiple imports for same config class
...
Issue: SPR-11788
(cherry picked from commit 52f44b3 )
12 years ago
Juergen Hoeller
ef290ff95c
Additional tests for configuration class importing via ASM
...
Issue: SPR-11647
(cherry picked from commit 8c9116f )
12 years ago
Juergen Hoeller
93b0f0b126
JRubyScriptUtils defensively handles null Nodes in findClassNode (fails against JRuby 1.7.12 otherwise)
...
Issue: SPR-11747
(cherry picked from commit adb616b )
12 years ago
Juergen Hoeller
1afdd9bd75
Polishing
...
(cherry picked from commit 02aca9c )
12 years ago
Juergen Hoeller
744727b8aa
AbstractAdvisingBeanPostProcessor uses target class check for existing proxy but checks against actual exposed object otherwise (catching introductions)
...
Issue: SPR-11725
(cherry picked from commit a0658c5 )
12 years ago
Juergen Hoeller
a679f3e7a3
Polishing
...
(cherry picked from commit be5f2a8 )
12 years ago
Juergen Hoeller
bd5b3749c5
Revised @PropertySource parsing for consistent PropertySource naming, avoiding accidental overriding by name
...
Issue: SPR-11637
(cherry picked from commit ab24dda )
12 years ago
Juergen Hoeller
d0f9853769
Test for overriding singleton @Bean method with scoped proxy in configuration subclass
...
Issue: SPR-10744
(cherry picked from commit 299776f )
12 years ago
Juergen Hoeller
c97c246940
Polishing
12 years ago
Juergen Hoeller
59cef3ce81
General defensiveness about the bootstrap ClassLoader (i.e. null ClassLoader)
...
Issue: SPR-11721
12 years ago
Juergen Hoeller
c8ea80d7ed
Configuration class processing explicitly skips java.* classes since we'll never find @Bean annotations there anyway
...
Issue: SPR-11718
(cherry picked from commit 470e9c8 )
12 years ago
Juergen Hoeller
656fc52ff9
@Bean processing explicitly ignores bridge methods (for method overrides with return type narrowing on JDK 8)
...
Issue: SPR-11718
(cherry picked from commit dc93406 )
12 years ago
Juergen Hoeller
271fe4f554
Polishing
...
(cherry picked from commit 48c977a )
12 years ago
Juergen Hoeller
d9cb44527c
Backported tests for package-visible methods with CGLIB proxies
...
Issue: SPR-11618
(cherry picked from commit 90309ab )
12 years ago
Juergen Hoeller
d28c6d8bdb
Consistent documentation for both 'close' and 'shutdown' as inferred destroy methods
...
Issue: SPR-11680
(cherry picked from commit 14f9dbf )
12 years ago
Stephane Nicoll
2d8e0c8f87
Fix expression cache
...
Prior to this commit, only the java.lang.reflect.Method was used to
identify an annotated method. As a result, if different annotations
were placed on different methods (method overriding, interface
implementation) only the first one (cached) was used.
LazyParamAwareEvaluationContext was affected by the exact
same problem and has been also fixed.
Issue: SPR-11692
(cherry picked from commit df34bab)
12 years ago
Juergen Hoeller
21874627d2
Polishing
...
Issue: SPR-11637
(cherry picked from commit 0041e24 )
12 years ago
Juergen Hoeller
b70148c12d
Consistent PropertyAccessor method order as declared in the interface
...
Issue: SPR-11609
12 years ago
Juergen Hoeller
3388573646
AbstractApplicationEventMulticaster only caches if event type and source type are cache-safe
...
Issue: SPR-11606
12 years ago