Sébastien Deleuze
05683fed7a
Skip LoadTimeWeaverAwareProcessor with native images
6 years ago
Juergen Hoeller
718d46adac
Check for alias overriding bean definition of same name
...
Closes gh-25430
6 years ago
Sam Brannen
335c3d5db6
Polish contribution
...
See gh-25445
6 years ago
XenoAmess
ab859fcc96
Refine use of substring operations
...
Closes gh-25445
6 years ago
Sam Brannen
a8901e3cf8
Polish contribution
...
See gh-25445
6 years ago
XenoAmess
edfc6c0293
Refine use of substring operations
...
Closes gh-25445
6 years ago
XenoAmess
c547809e89
Use instanceof instead of Class#isInstance where feasible
...
Closes gh-25446
6 years ago
Sam Brannen
ae5913f3b6
Polish tests
...
See gh-25456
6 years ago
XenoAmess
cd12583e13
Use Integer.parseInt instead of Integer.valueOf for primitive int
...
Closes gh-25456
6 years ago
XenoAmess
3b12beb1b8
Simplify if-statements with instanceof checks
...
Closes gh-25449
6 years ago
XenoAmess
c7f44ff671
Fix links in Javadoc
...
Closes gh-25448
6 years ago
Juergen Hoeller
7b6924522a
Avoid unnecessarily alarming stack trace logged during scheduler resolution
...
Closes gh-23268
6 years ago
Juergen Hoeller
e9898f7d52
Polishing
6 years ago
Sam Brannen
abe16eeb6e
Use test name as thread name prefix in scheduling TaskExecutor tests
...
This commit also deletes a duplicate copy of the assertThreadNamePrefix()
method.
6 years ago
Sam Brannen
b769b73960
Improve JavaDoc for ConfigurableApplicationContext.refresh()
...
Closes gh-25380
6 years ago
Brian Clozel
d9ccd618ea
Deprecate remoting technologies support
...
Because of security and broader industry support, support for several
remoting technologies is now deprecated and scheduled for removal in
Spring Framework 6.0.
This commit deprecates the following remoting technologies:
* HTTPInvoker
* RMI
* Hessian
* JMS remoting
Other remoting technologies like EJB or JAXWS might be deprecated in the
future depending on industry support.
Closes gh-25379
6 years ago
Sébastien Deleuze
9d37794ebc
Avoid using LiveBeansView in GraalVM native images
...
Closes gh-25344
6 years ago
Sébastien Deleuze
671d4519b2
Fix checkstyle error
6 years ago
Sébastien Deleuze
02b539c5f5
Leverage spring.ignore.xml flag to avoid XmlBeanDefinitionReader
...
Closes gh-25338
6 years ago
Juergen Hoeller
56c661829b
Avoid package cycle through dedicated ResourcePropertiesPersister
...
See gh-25151
6 years ago
Sam Brannen
ab0e651547
Polish SerializationTestUtils, clean up warnings, etc.
6 years ago
Sébastien Deleuze
63dff520e6
Disable and remove unsupported features from native images
...
This commit removes load time weaving, CGLIB and Objenesis support
from native images.
GraalDetector has been removed for now because of
https://github.com/oracle/graal/issues/2594 . It should be reintroduced
when this bug will be fixed with NativeImageDetector class name.
Closes gh-25179
6 years ago
Sébastien Deleuze
1c75f95be0
Provide a flag to disable SpEL support
...
This commit introduces a spring.spel.ignore system property
which when set to true avoid initializing SpEL infrastructure.
A typical use case is optimizing GraalVM native image footprint
for applications not using SpEL. In order to be effective, those
classes should be initialized at build time:
- org.springframework.context.support.AbstractApplicationContext
- org.springframework.core.SpringProperties
- org.springframework.context.event.EventListenerMethodProcessor
Closes gh-25153
6 years ago
Sam Brannen
edf25ce98a
Polish ResourceBundleMessageSourceTests
...
- suppress warnings
- make tests faster (by sleeping less)
6 years ago
陈其苗
d60c55c296
Use computeIfAbsent in ResourceBundleMessageSource
...
Closes gh-25072
6 years ago
Сергей Цыпанов
7949937655
Remove redundant assignment of default values to volatile fields
6 years ago
Sam Brannen
8099fc8178
Use try-with-resources language construct where feasible
...
Closes gh-2063
Co-authored-by: igor-suhorukov <igor.suhorukov@gmail.com>
6 years ago
Juergen Hoeller
e46ccd74b1
Consistent abstract declaration of "Abstract" base classes
...
Closes gh-25240
6 years ago
Juergen Hoeller
ae1ed9d458
Document exception handling limitations in TaskDecorator implementations
...
Closes gh-25231
6 years ago
Sam Brannen
905483be30
Polish Javadoc for @PropertySource
6 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
6 years ago
Sam Brannen
0f0b1ffe0d
Use computeIfAbsent in ScriptFactoryPostProcessor
6 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
6 years ago
Juergen Hoeller
7207f7645c
Deprecate InstantiationAwareBeanPostProcessorAdapter
...
Consistently relying on default methods in the corresponding interfaces.
Closes gh-25165
6 years ago
Juergen Hoeller
2ff22510d9
Avoid earlyApplicationEvents iteration in case of empty Set
...
Closes gh-25161
6 years ago
Sam Brannen
763f7b9be8
Make TaskExecutor and TaskScheduler tests more robust
6 years ago
Sam Brannen
c4ef002392
Stop to writing to STD_OUT in tests
6 years ago
Juergen Hoeller
d7161f5e5e
Polishing
6 years ago
Juergen Hoeller
e5c079edfc
Introduce serializeToByteArray/deserializeFromByteArray on (De)Serializer
...
Closes gh-25117
6 years ago
Juergen Hoeller
807ded24c4
Avoid ClassCastException on IllegalArgumentException from sync invocation
...
Closes gh-25110
6 years ago
Juergen Hoeller
06cfd80c1c
Avoid full synchronization in refreshable getBeanFactory() implementation
...
Closes gh-25081
6 years ago
Juergen Hoeller
28177ad91b
Explicit notes on access to standard context beans in SpEL expressions
...
Closes gh-25037
6 years ago
Сергей Цыпанов
703d54677e
Avoid unnecessary boxing/unboxing of primitives
...
Closes gh-25080
6 years ago
Rossen Stoyanchev
6403a9f10e
Defer decision on BindingResult type until access
...
Closes gh-24347
6 years ago
Juergen Hoeller
fe33822fa7
Polishing
6 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
6 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
6 years ago
Juergen Hoeller
f09093132e
Use proxyBeanMethods=false on remaining internal configuration classes
...
Closes gh-24511
6 years ago
Andy Wilkinson
1015f79b42
Include timeout unit in shutdown failure logging
...
Closes gh-25058
6 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
6 years ago