Sam Brannen
905483be30
Polish Javadoc for @PropertySource
4 years ago
Juergen Hoeller
196bb6fe32
Support for shared GroovyClassLoader in GroovyScriptFactory
...
Exposes setClassLoader method in ConfigurableApplicationContext interface as obvious first-class configuration option.
Closes gh-25177
5 years ago
Sam Brannen
0f0b1ffe0d
Use computeIfAbsent in ScriptFactoryPostProcessor
5 years ago
Yoo In Keun
2549674f41
Refactor method name dispatching to switch statements
...
This commit refactors method name dispatching to switch statements in
WebSphereClassPreDefinePlugin.
Closes gh-25170
5 years ago
Juergen Hoeller
7207f7645c
Deprecate InstantiationAwareBeanPostProcessorAdapter
...
Consistently relying on default methods in the corresponding interfaces.
Closes gh-25165
5 years ago
Juergen Hoeller
2ff22510d9
Avoid earlyApplicationEvents iteration in case of empty Set
...
Closes gh-25161
5 years ago
Sam Brannen
763f7b9be8
Make TaskExecutor and TaskScheduler tests more robust
5 years ago
Sam Brannen
c4ef002392
Stop to writing to STD_OUT in tests
5 years ago
Juergen Hoeller
d7161f5e5e
Polishing
5 years ago
Juergen Hoeller
e5c079edfc
Introduce serializeToByteArray/deserializeFromByteArray on (De)Serializer
...
Closes gh-25117
5 years ago
Juergen Hoeller
807ded24c4
Avoid ClassCastException on IllegalArgumentException from sync invocation
...
Closes gh-25110
5 years ago
Juergen Hoeller
06cfd80c1c
Avoid full synchronization in refreshable getBeanFactory() implementation
...
Closes gh-25081
5 years ago
Juergen Hoeller
28177ad91b
Explicit notes on access to standard context beans in SpEL expressions
...
Closes gh-25037
5 years ago
Сергей Цыпанов
703d54677e
Avoid unnecessary boxing/unboxing of primitives
...
Closes gh-25080
5 years ago
Rossen Stoyanchev
6403a9f10e
Defer decision on BindingResult type until access
...
Closes gh-24347
5 years ago
Juergen Hoeller
fe33822fa7
Polishing
5 years ago
Juergen Hoeller
3c1ee64b7f
Explicit nullability declarations for all AOP Alliance methods
...
Includes consistent declarations in AOP Alliance related Spring AOP code.
Closes gh-24117
5 years ago
Juergen Hoeller
a3c5625d4e
Internal cache of pre-filtered BeanPostProcessors (for faster iteration)
...
Also includes bulk addition in PostProcessorRegistrationDelegate.
Closes gh-24681
Closes gh-24756
5 years ago
Juergen Hoeller
f09093132e
Use proxyBeanMethods=false on remaining internal configuration classes
...
Closes gh-24511
5 years ago
Andy Wilkinson
1015f79b42
Include timeout unit in shutdown failure logging
...
Closes gh-25058
5 years ago
Qimiao Chen
311b333814
Use computeIfAbsent in ResourceBundleMessageSource
...
This commit optimizes code in ResourceBundleMessageSource
by using computeIfAbsent instead of putIfAbsent.
In addition, the content of some Javadoc has been adjusted.
Closes gh-25054
5 years ago
liym
d54b903d28
Fix typo in RmiSupportTests
...
Closes gh-25051
5 years ago
Sam Brannen
b313b3395f
Fix AutoProxyLazyInitTests
...
See gh-24915
5 years ago
Sam Brannen
3c3e8e6a8b
Only proxy supported beans in BeanNameAutoProxyCreator
...
Prior to this commit, if a BeanNameAutoProxyCreator was configured with
a custom TargetSourceCreator, the TargetSourceCreator was applied to
all beans in the ApplicationContext. Thus, the list of supported
beanNames was effectively ignored when applying any
TargetSourceCreator. Consequently, if a TargetSourceCreator returned a
non-null TargetSource for a given bean, the BeanNameAutoProxyCreator
proxied the bean even if the bean name had not been configured in the
beanNames list.
This commit addresses this issue by ensuring that a custom
TargetSourceCreator is only applied to beans whose names match the
configured beanNames list in a BeanNameAutoProxyCreator.
Closes gh-24915
5 years ago
Sam Brannen
a07dc80d72
Polishing
5 years ago
Yanming Zhou
50a4fdac6e
Use Map::computeIfAbsent to simplify scope implementations
...
Closes gh-25038
5 years ago
Sam Brannen
12e05280ad
Upgrade to AssertJ 3.16
5 years ago
Sam Brannen
c3f439417e
Disable remaining JavaScript-based tests on Java 15+
...
This commit disables all remaining JavaScript-based tests on Java 15 or
higher since the Nashorn JavaScript engine is no longer part of the JDK.
5 years ago
Sam Brannen
71ed8143a1
Disable StandardScriptFactoryTests on Java 15+
...
This commit disables StandardScriptFactoryTests on Java 15 or higher
since the Nashorn JavaScript engine is no longer part of the JDK.
5 years ago
Juergen Hoeller
57f1e86a35
AnnotationBeanNameGenerator caches meta-annotations for stereotype check
...
Closes gh-24980
5 years ago
Juergen Hoeller
73fadd8b7c
Polishing
5 years ago
Juergen Hoeller
127e879726
Store source in index-derived ScannedGenericBeanDefinition as well
...
Includes consistent constructor-level storage of derived resource in ScannedGenericBeanDefinition and ConfigurationClassBeanDefinition.
Closes gh-24978
5 years ago
Sam Brannen
9628038c58
Upgrade to BeanShell 2.0b6
5 years ago
Juergen Hoeller
8595f01e44
Polishing
5 years ago
陈其苗
13970ae528
Use autoboxing instead of explicit wrapping in tests
...
Closes gh-24801
5 years ago
Sam Brannen
01cf0a3d4e
Polish MBeanClientInterceptorTests and recover two lost tests
...
Two test methods were missing the @Test annotation after the migration
from JUnit 3 to JUnit 4.
5 years ago
Sam Brannen
9bd74c270f
Remove flaky check in MBeanClientInterceptorTests
...
Prior to this commit, the testTestLazyConnectionToRemote() method in
MBeanClientInterceptorTests expected an exception to be thrown while
attempting to access the state of a proxied MBean after the MBeanServer
had been shutdown; however, the test occasionally failed if the server
had not been properly shutdown.
Since an attempt to wait on the server to shutdown proved not to be
consistently helpful in this scenario, we are entirely removing this
check from the test.
5 years ago
Sam Brannen
e26764d249
Remove duplicate words in documentation and polish Javadoc
5 years ago
Сергей Цыпанов
e63d1cf12d
Improve usage of ByteArrayOutputStream/ByteArrayInputStream
...
Closes gh-24805
5 years ago
Qimiao Chen
7c831d2ef4
Replace anonymous inner classes with lambdas in tests
...
Closes gh-24808
5 years ago
Sam Brannen
06fa8692cd
Attempt to make MBeanClientInterceptorTests more robust
5 years ago
Sam Brannen
ac11acb532
Optimize sorting in PostProcessorRegistrationDelegate
...
Closes gh-24776
5 years ago
Sam Brannen
5c977ce119
Make remaining static fields final in CommonAnnotationBPP
5 years ago
Sam Brannen
6d0bab332c
Polishing
5 years ago
Qimiao Chen
c42a0eeb38
Make resourceAnnotationTypes field final in CommonAnnotationBPP
...
Closes gh-24774
5 years ago
Juergen Hoeller
910d2788e9
Polishing
5 years ago
Juergen Hoeller
2e23cf32ce
Clarify name generation responsibility for PropertySourceFactory impls
...
Closes gh-24757
5 years ago
陈其苗
821a8eebdd
Improve Javadoc in Configuration
5 years ago
Sam Brannen
b069efade4
Polish Javadoc for @ManagedAttribute
...
See gh-24742
5 years ago
Rossen Stoyanchev
1f72ab4816
Add Javadoc to ManagedAttribute
...
Closes: gh-24742
5 years ago