Juergen Hoeller
e714fc533a
DefaultListableBeanFactory checks for pre-converted Optional wrappers
...
Issue: SPR-17607
2019-01-08 20:55:55 +01:00
Juergen Hoeller
c02446c5a8
Relaxed position assertion (for overflows in large inline maps)
...
Issue: SPR-17605
(cherry picked from commit b2756f5bd2 )
2019-01-08 20:55:23 +01:00
Juergen Hoeller
21baa7287b
Consistent support for EnumSet subclasses in CollectionFactory
...
Issue: SPR-17619
(cherry picked from commit 31a24720a6 )
2019-01-08 20:55:10 +01:00
Sam Brannen
3c7887c2ae
Provide external links to JUnit in published Javadoc API
2019-01-08 16:24:17 +01:00
Michel Schudel
21d3bf8db4
Fix XML parser default value handling
...
The xml parser does not fill in defaults provided in the XSD when
validation is disabled. As a result, attributes like default-lazy-init
will not receive the value "default" but an empty string.
With this commit, BeanDefinitionParserDelegate now takes this into
account, checking default values against empty string as well as
"default".
As a consequence, default-lazy-init attribute should now work correctly
even when the XSD validation is disabled.
Issue: SPR-8335
2019-01-08 15:07:41 +01:00
Juergen Hoeller
ce05a5b5c0
Polishing
2018-12-12 13:04:59 +01:00
Juergen Hoeller
b00f98fccf
Revised SimpleEvaluationContext example
...
Issue: SPR-17581
2018-12-12 13:04:51 +01:00
Juergen Hoeller
7ff1b0e01d
Clarified VfsResource constructor
...
Issue: SPR-17563
(cherry picked from commit 50e5bdb813 )
2018-12-04 22:35:04 +01:00
Juergen Hoeller
792991a88b
Cleanup after unexpected exception from external delegation call
...
Issue: SPR-17559
(cherry picked from commit c024bdcc6f )
2018-12-04 02:43:52 +01:00
Juergen Hoeller
b8480ea011
Polishing
2018-12-04 01:21:16 +01:00
Juergen Hoeller
bf9043c737
Upgrade to POI 3.17 (and Netty 4.1.32)
...
Issue: SPR-17385
2018-12-04 01:20:57 +01:00
Juergen Hoeller
4decaa2da6
Revised section on custom BeanPostProcessors
...
Issue: SPR-17556
2018-12-04 01:20:28 +01:00
Juergen Hoeller
9d504c8e1d
Avoid log statements between resource opening and returning
...
Issue: SPR-17559
(cherry picked from commit 7854b7ac40 )
2018-12-04 01:20:19 +01:00
Juergen Hoeller
191a2d3f25
JavaMailSenderImpl calls sendMessage with empty array instead of null
...
Issue: SPR-17540
(cherry picked from commit 16e9b83d43 )
2018-12-04 01:20:11 +01:00
Spring Buildmaster
a46a437299
Next Development Version
2018-11-27 07:40:08 +00:00
Juergen Hoeller
9600e015b7
Revised alias definition example in reference documentation
...
Issue: SPR-17536
2018-11-25 22:30:41 +01:00
Juergen Hoeller
e9f7c357b7
ResolvableType-based matching consistently respects generic factory method return type (even for pre-initialized raw singleton instance)
...
Issue: SPR-17524
(cherry picked from commit ebbe14c363 )
2018-11-25 22:30:33 +01:00
Juergen Hoeller
cf8479c8ab
Upgrade to Tomcat 8.5.35, Netty 4.1.31, Gson 2.8.5, Jackson 2.8.11.3
...
Also includes Apache HttpClient 4.5.6 and HttpAsyncClient 4.1.4.
2018-11-24 14:23:55 +01:00
Juergen Hoeller
1c1b94285d
DefaultResponseErrorHandler detects non-standard error code as well
...
Issue: SPR-17439
2018-11-23 20:21:30 +01:00
Juergen Hoeller
85b5c5a134
Polishing
2018-11-22 20:20:36 +01:00
Juergen Hoeller
ed9afa3686
FastByteArrayOutputStream.read byte-to-int conversion
...
Issue: SPR-17492
2018-11-22 20:20:26 +01:00
Juergen Hoeller
22f4b1ce6b
SerializedBeanFactoryReference falls back to dummy with specific id
...
Issue: SPR-17508
(cherry picked from commit f5aeb81473 )
2018-11-22 20:20:14 +01:00
Rossen Stoyanchev
abacc6d29e
BEST_MATCHING_HANDLER_ATTRIBUTE for spring-webmvc
...
Issue: SPR-17518
2018-11-21 09:38:59 -05:00
Juergen Hoeller
8d668acbb4
Up-to-date version and link in ASM/CGLIB/Objenesis package javadoc
...
Issue: SPR-16405
Issue: SPR-15600
2018-11-08 17:12:05 +01:00
Juergen Hoeller
4f5ae22a52
Consistently return empty array in case of empty batch arguments
...
Issue: SPR-17476
(cherry picked from commit 362c59c310 )
2018-11-08 14:09:44 +01:00
Juergen Hoeller
8f1f36d6fb
Upgrade to Animal Sniffer 1.17, Tiles 3.0.8, Tomcat 8.5.34
2018-11-05 23:52:07 +01:00
Juergen Hoeller
79e7ba71bb
Polishing
2018-11-05 23:51:54 +01:00
Juergen Hoeller
f002ebd976
Explicit notes on class/method-level semantics in class hierarchies
...
Issue: SPR-17445
(cherry picked from commit ea3250c8d6 )
2018-11-05 23:51:48 +01:00
Juergen Hoeller
b43e7335b8
Polishing
2018-10-27 16:14:53 +02:00
Juergen Hoeller
6711515ef5
Exclude FactoryBean implementation methods on CGLIB proxies as well
...
Issue: SPR-17374
(cherry picked from commit dc1e3b4628 )
2018-10-27 16:14:31 +02:00
Juergen Hoeller
47ca7b39a2
Polishing
2018-10-24 22:10:05 +02:00
Juergen Hoeller
448182fa5c
ConfigurableWebApplicationContext needed for contextClass parameter
...
Issue: SPR-17414
2018-10-24 22:06:48 +02:00
Juergen Hoeller
46bc145196
SpringFactoriesLoader tolerates whitespace around class names
...
Issue: SPR-17413
(cherry picked from commit dd2ce20687 )
2018-10-24 22:06:35 +02:00
Juergen Hoeller
3a4fd2c832
Avoid stacktrace if root resource is not resolvable in file system
...
Issue: SPR-17417
(cherry picked from commit 83a54dba7e )
2018-10-24 22:06:26 +02:00
Juergen Hoeller
cd664673ed
Clarify FactoryBean initialization effect in getBeanNamesForAnnotation
...
Issue: SPR-17392
(cherry picked from commit da23505e94 )
2018-10-24 22:06:19 +02:00
Juergen Hoeller
a3bdeb2c53
Clarify destruction order effect in @DependsOn annotation javadoc
...
Issue: SPR-17384
(cherry picked from commit 00b7782b5f )
2018-10-24 22:06:11 +02:00
Brian Clozel
9efe37e649
Fix ResourceUrlEncodingFilter lifecycle
...
Prior to this commit, the `ResourceUrlEncodingFilter` would wrap the
response and keep a reference to the request. When
`HttpServletResponse.encodeURL` is later called during view rendering,
the filter looks at the request and extracts context mapping information
in order to resolve resource paths in views.
This approach is flawed, when the filter is used with JSPs - if the
request is forwarded to the container by the `InternalResourceView`,
the request information is overwritten by the container. When the view
is being rendered, the information available in the request is outdated
and does not allow to correctly compute that context mapping
information.
This commit ensures that that information is being extracted from the
request as soon as the `ResourceUrlProvider` is set as a request
attribute.
Issue: SPR-17421
(Cherry-picked from cf25efc7d3 )
2018-10-24 21:20:29 +02:00
Rossen Stoyanchev
8e980d9a63
Restore log level for resolved exceptions
...
The fix for SPR-17178 switched from debug to warn level warning for
all sub-classes of AbstractHandlerExceptionResolver where the request
concerned the DefaultHandlerExceptionResolver only.
This commit restores the original DEBUG level logging that was in
AbstractHandlerExceptionResolver from before SPR-17178. In addition
DefaultHandlerExceptionResolver registers a warnLogCategory by default
which enables warn logging and hence fulfilling the original goal
for SPR-17178.
Issue: SPR-17383
2018-10-22 12:22:18 -04:00
Spring Buildmaster
f7c625cfcc
Next Development Version
2018-10-15 08:48:23 +00:00
Rossen Stoyanchev
044772641d
HttpRange validates requested ranges
...
Issue: SPR-17318
2018-10-14 23:03:34 -04:00
Juergen Hoeller
d15abfdb3f
Revert support for concurrent BeanPostProcessor registration in 4.3.x
...
Issue: SPR-17286
2018-10-14 22:12:35 +02:00
Juergen Hoeller
ebe3c270cb
MethodValidationInterceptor excludes FactoryBean metadata methods
...
Issue: SPR-17374
(cherry picked from commit 5f2d47a17e )
2018-10-14 22:12:24 +02:00
Juergen Hoeller
6c9c8efc38
Polishing
2018-10-10 00:32:07 +02:00
Juergen Hoeller
b53995b5d4
Resource.lastModified() propagates 0 value if target resource exists
...
Issue: SPR-17320
2018-10-10 00:31:49 +02:00
Rossen Stoyanchev
547b841172
Oops, add uncommitted change for last commit.
2018-10-09 12:23:25 -04:00
Rossen Stoyanchev
f61f6f2ef0
More defensive check for MockAsyncContext
...
Avoid automatically unwrapping the request in TestDispatcherServlet,
if we find the MockAsyncContext.
Issue: SPR-17353
2018-10-09 12:00:36 -04:00
Juergen Hoeller
de1139e6a0
Polishing
2018-09-29 17:55:10 +02:00
Juergen Hoeller
e978f90a19
MockHttpServletRequest allows for removing registered header entries
...
Issue: SPR-17295
2018-09-29 17:55:03 +02:00
Juergen Hoeller
ebd92fec6d
Revised javadoc for up-to-date constructor autowiring semantics
...
Issue: SPR-17299
(cherry picked from commit 333e327289 )
2018-09-29 17:54:54 +02:00
Juergen Hoeller
fa06faa3ec
Use local copy set into volatile field instead of CopyOnWriteArrayList
...
Keep supporting legacy usage of Iterator.remove on getBeanPostProcessors result List in AbstractBeanFactoryBasedTargetSourceCreator and ScriptFactoryPostProcessor (and similarly designed integrations).
Issue: SPR-17286
2018-09-18 23:32:14 +02:00