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
Juergen Hoeller
e94624d439
Polishing
2018-09-18 22:09:07 +02:00
Juergen Hoeller
0d1bf52122
Defensively expect concurrent registration of BeanPostProcessors
...
Declaring beanPostProcessors (and also embeddedValueResolvers) as CopyOnWriteArrayList prevents ConcurrentModificationExceptions in case of concurrent registration/access attempts.
Issue: SPR-17286
2018-09-18 22:09:01 +02:00
Juergen Hoeller
ec1aa5c6ea
Polishing
2018-09-17 14:56:55 +02:00
Juergen Hoeller
4a51f6feef
Polishing
2018-09-14 14:37:06 +02:00
Juergen Hoeller
4e9046ab6e
Correct linkplain javadoc in BufferingClientHttpRequestFactory
...
Issue: SPR-17261
(cherry picked from commit e47355078c )
2018-09-11 15:16:59 +02:00
Juergen Hoeller
e873004b52
Revise ServletUriComponentsBuilder javadoc
...
Issue: SPR-17255
2018-09-07 18:27:32 +02:00
Spring Buildmaster
5f465d056f
Next Development Version
2018-09-07 14:10:07 +00:00
Juergen Hoeller
6a5d986b33
Fix SpEL compilation for non trivial elvis operand
...
Issue: SPR-17214
2018-09-07 13:19:47 +02:00
Juergen Hoeller
8ce9236b0f
Polishing
...
(cherry picked from commit 95a56cd28d )
2018-08-31 13:22:55 +02:00
Juergen Hoeller
1a626ab948
SpelExpression consistently exposes EvaluationContext to compiled AST
...
Operator includes explicit support for Boolean comparisons now.
Issue: SPR-17229
(cherry picked from commit 51cee658d5 )
2018-08-31 13:22:14 +02:00
Juergen Hoeller
56194a1051
Transactional timeout documented as seconds in annotation javadoc
...
Issue: SPR-17226
(cherry picked from commit 8c6f3505c4 )
2018-08-31 13:21:37 +02:00
Juergen Hoeller
a496836e46
Upgrade to Tomcat 8.5.33 and Netty 4.1.29
2018-08-24 13:28:55 +02:00
Juergen Hoeller
974e7b88ee
Polishing
2018-08-24 13:28:29 +02:00
Juergen Hoeller
069704f4a0
Support Jackson filters in combination with serialization view
...
Issue: SPR-17209
(cherry picked from commit 03f1920106 )
2018-08-24 13:28:23 +02:00
Juergen Hoeller
d38eb9d6a0
SimpleAliasRegistry.hasAlias properly resolves multiple chained aliases
...
Issue: SPR-17191
(cherry picked from commit 2ac23badee )
2018-08-17 10:04:48 +02:00
Juergen Hoeller
5bd4f88af1
Polishing
2018-08-16 12:38:07 +02:00
Juergen Hoeller
b16a3229bc
Polishing
2018-08-15 18:10:25 +02:00
Rossen Stoyanchev
a409233e80
Consistent logging of resolved exceptions
...
Issue: SPR-17178
2018-08-15 11:20:32 +03:00
Juergen Hoeller
7a97ba54ea
Polishing
2018-08-14 22:03:05 +02:00
Juergen Hoeller
9de85f1336
MappingJackson2JsonView does not refer to "renderedAttributes" anymore
...
Issue: SPR-17182
2018-08-14 22:02:31 +02:00
Juergen Hoeller
484a2f3f2d
Polishing
2018-08-13 14:23:41 +02:00
Juergen Hoeller
5bd5df3ec4
Post-processors consistently ignore ScopedObject/AopInfrastructureBean
...
Issue: SPR-17166
2018-08-12 20:40:26 +02:00