Juergen Hoeller
b125b5e398
Properly analyze Java 9 class cast messages for lambda event listeners
...
Issue: SPR-16435
(cherry picked from commit 89d2bd9 )
2018-02-12 13:41:05 +01:00
Juergen Hoeller
65743a68e6
Deep BeanCurrentlyInCreationException check in getTypeForFactoryBean
...
Issue: SPR-16427
(cherry picked from commit 7772b91 )
2018-02-12 13:40:38 +01:00
Juergen Hoeller
f187ca6413
Notes about HibernateJpaVendorAdapter settings vs native Hibernate rules
...
Issue: SPR-16428
(cherry picked from commit e1fa65a )
2018-02-12 13:40:32 +01:00
Juergen Hoeller
13c213481a
@EnableAspectJAutoProxy: per application context, requires aspectjweaver
...
Issue: SPR-14753
Issue: SPR-15801
(cherry picked from commit 0e734d8 )
2018-02-12 13:40:19 +01:00
Juergen Hoeller
ce9402618c
Doc: no "useCodeAsDefaultMessage" for setValidationMessageSource
...
Issue: SPR-15986
(cherry picked from commit 37ab8a7 )
2018-02-12 13:40:08 +01:00
Juergen Hoeller
a041769799
AbstractClientSockJsSession.close propagates IOException from disconnect
...
Issue: SPR-16415
(cherry picked from commit cf100d4 )
2018-02-12 13:39:30 +01:00
Juergen Hoeller
09cb7f4c31
Fine-tuned logging of WebSocket close exceptions
...
Issue: SPR-16409
(cherry picked from commit 8e2be91 )
2018-02-12 13:39:23 +01:00
Juergen Hoeller
04f954956c
ServletServerHttpRequest.getURI() ignores malformed query string
...
The resolved URI instance is also being cached now. This should not make a difference in a real Servlet environment but does affect tests which assumed they could modify an HttpServletRequest path behind a pre-created ServletServerHttpRequest instance. Our WebSocket test base class has been revised accordingly, re-creating the ServletServerHttpRequest in such a case.
Issue: SPR-16414
(cherry picked from commit 0e6f8df )
2018-02-12 13:39:11 +01:00
Rossen Stoyanchev
fe4472dbeb
MockHttpServletRequestBuilder decodes pathInfo
...
Previously MockHttpServletRequestBuilder calculated the pathInfo from the
provided URL without decoding the value. This meant that the pathInfo
incorrectly included URL encoded values.
Now MockHttpServletRequestBuilder properly decodes the pathInfo.
Backport of #0cd427bdd35e668dda6332ae2885d94c222d9c49.
Fixes: SPR-16453
2018-02-02 15:17:58 -05:00
Spring Buildmaster
b708027e94
Next Development Version
2018-01-23 09:03:47 +00:00
Juergen Hoeller
333449598f
Upgrade to Apache HttpClient 4.5.5 and Tomcat 8.5.27
2018-01-22 21:46:42 +01:00
Juergen Hoeller
03b2d9399e
Polishing
2018-01-22 21:39:16 +01:00
Juergen Hoeller
4ccf33e36b
Javadoc format and related polishing
...
(cherry picked from commit 9d0e62e )
2018-01-22 13:08:03 +01:00
Juergen Hoeller
5eebe946bd
Upgrade to Netty 4.1.20 and Tomcat 8.5.24
2018-01-22 13:06:41 +01:00
Juergen Hoeller
13fa69bdaf
Upgrade to ASM 6.0 level (for CGLIB 3.2.6)
...
Issue: SPR-16405
(cherry picked from commit 185c2bf )
2018-01-20 16:19:56 +01:00
Juergen Hoeller
4aeca67c4d
Upgrade to CGLIB 3.2.6
...
Issue: SPR-16267
2018-01-20 14:46:46 +01:00
Rossen Stoyanchev
b695b15243
Update STOMP docs on using dot as separator
...
Issue: SPR-16275
2018-01-19 22:35:56 -05:00
Rossen Stoyanchev
ef4b62caa0
Refine "." separator support for STOMP messaging
...
After this commit DefaultUserDestinationResolves no longer looks at
whether AntPathMatcher is configured with "." as separator and rather
expects to be explicitly told whether to keep the leading slash in
translated destinations which actually depends on what the message
broker supports (e.g. RabbitMQ "/", Artemis ".") or how it is
configured (simple broker could be either way).
There is also a minor improvement in SimpMessagingTemplate to ensure
user destinations are correctly formed based on what the
DefaultUserDestinationResolver expects. When using "." as separtor it
allows sending messages to "queue.q1" rather than "/queue.q1".
Issue: SPR-16275
2018-01-19 22:35:49 -05:00
Rossen Stoyanchev
238e9ae59f
Polish MessageBrokerConfigurationTests
2018-01-19 22:24:21 -05:00
Juergen Hoeller
347f2890df
Upgrade to Jackson 2.8.11
2018-01-19 19:35:27 +01:00
Juergen Hoeller
8b5a013423
Polishing
2018-01-19 19:35:02 +01:00
Juergen Hoeller
a73d9bbed5
Scheduled/JmsAnnotationBeanPostProcessor properly deals with nested proxies
...
Issue: SPR-16196
2018-01-19 19:13:38 +01:00
Juergen Hoeller
c1bc74c83f
ResponseEntityResponseExtractor tolerates unknown HTTP status codes
...
Issue: SPR-16371
2018-01-19 19:13:16 +01:00
Juergen Hoeller
f68fdd4454
Proper null path checks in HierarchicalUriComponents
...
Issue: SPR-16364
2018-01-19 19:13:06 +01:00
Juergen Hoeller
19640ec3f9
Log non-loadable TestExecutionListener classes at debug level only
...
Issue: SPR-16369
2018-01-19 19:10:31 +01:00
Juergen Hoeller
69c882cfbc
BridgeMethodResolver properly resolves all declared interfaces
...
Issue: SPR-16288
2018-01-19 19:08:17 +01:00
Juergen Hoeller
64af3a0f64
Use ArrayList instead of LinkedList for known size
...
Issue: SPR-16378
2018-01-19 19:07:10 +01:00
Juergen Hoeller
d7959edb3e
Improve performance of some string operations
...
Issue: SPR-16293
2018-01-19 19:05:07 +01:00
Juergen Hoeller
0b77c8835c
Reduce access on user in SimpleBrokerMessageHandler.handleMessageInternal
...
Issue: SPR-16264
2018-01-19 19:04:57 +01:00
Timo Meinen
28f15057ac
Log SQL parameters in EclipseLink when using showSql
...
As of EclipseLink 2.4.0 - Juno this is not sufficient to log
SQL parameter binding. Additionally,
eclipselink.logging.parameters must be enabled.
Issue: SPR-16383
(cherry picked from commit 823a16c )
2018-01-19 18:43:18 +01:00
Skelotron
e5025419c2
Fix transaction timeout value overflow
...
Issue: SPR-16316
(cherry picked from commit b9e03cb )
2018-01-19 18:42:43 +01:00
Juergen Hoeller
d53ede9bd3
CacheProxyFactoryBean exposes all relevant CacheInterceptor callbacks
...
Issue: SPR-16295
(cherry picked from commit b160f93 )
2018-01-19 18:41:45 +01:00
Juergen Hoeller
092b3d4a52
Warning instead of error for non-present type filter class
...
Issue: SPR-16356
(cherry picked from commit 4adc820 )
2018-01-19 18:41:18 +01:00
Juergen Hoeller
bf4cadadda
CachingConnectionFactory does not cache producer for temporary queue/topic
...
Issue: SPR-16353
(cherry picked from commit 72590db )
2018-01-19 18:41:06 +01:00
Juergen Hoeller
a9bad580d9
FunctionReference's method field is volatile
...
Issue: SPR-16255
(cherry picked from commit 6a1fe0b )
2018-01-19 18:38:13 +01:00
Juergen Hoeller
6f6ff33202
Consider enum subclasses as simple value types as well
...
Issue: SPR-16278
(cherry picked from commit d3e0f4d )
2018-01-19 18:37:30 +01:00
Juergen Hoeller
4bb837582e
Support for static field access on non-public enums
...
Issue: SPR-16284
(cherry picked from commit 9beb978 )
2018-01-19 18:37:11 +01:00
Juergen Hoeller
3368dcae22
Avoid extra existence check in SimpleMetadataReaderFactory
...
Issue: SPR-16281
(cherry picked from commit 7ad69bf )
2018-01-19 18:37:00 +01:00
Rossen Stoyanchev
86704112b0
Update docs on stomp.js library
...
This is a backport of #357fb4.
Issue: SPR-15624
2018-01-18 14:51:40 -05:00
Rossen Stoyanchev
d62dd2dd8d
Polish MockRestServiceServer code
...
Cherry picked from #7ab4d0ca08
2018-01-17 13:04:32 -05:00
sdeleuze
e935018b0c
Fix SockJs CorsConfiguration for forbidden origins
...
After this commit, AbstractSockJsService uses the configured allowed
origins when generating the CorsConfiguration instead of "*".
As a consequence, forbidden origin requests still result in a 403
response but now with no CORS headers in order to improve consistency
between the status code and the headers.
Issue: SPR-16304
2018-01-15 18:17:08 +01:00
Stephane Nicoll
0747cd6a70
Make sure endpoint settings override default factory settings
...
Issue: SPR-16338
2018-01-15 15:45:55 +01:00
Rossen Stoyanchev
0a30b71dc3
Fix failing tests caused by previous commit
2018-01-12 12:36:24 -05:00
Rossen Stoyanchev
03118542f4
MockHttpInputMessage respects getBody contract
...
Issue: SPR-16367
2018-01-12 11:44:42 -05:00
sdeleuze
1b3b058ebd
Refine forwarded protocol support
...
This commit refines forwarded protocol support in order to support
proxies that only set "X-Forwarded-Proto" header and not
"X-Forwarded-Port" by performing a reset of the port in such case.
"Forwarded" header support has been updated accordingly since it
also supports similar use case, as described in SPR-15504.
Issue: SPR-16262
2018-01-09 14:56:23 +01:00
Stephane Nicoll
8aa94aee27
Fix SpEL syntax
...
Issue: SPR-16315
2018-01-08 08:47:57 +01:00
Rossen Stoyanchev
6dbc828aa1
MappingJackson2MessageConverter uses generic type
...
This is a backport of the #583201 minus use of GenericTypeResolver
which in 5.0 has been refactored to provide a getJavaType method.
Issue: SPR-16252
2018-01-04 13:17:34 -05:00
nkjackzhang
3c31e0378f
Polish Javadoc
...
Closes gh-1627
2017-12-23 14:20:49 +01:00
sdeleuze
e6e6b8f4ad
Allow interceptors to add existing header values
...
Additional commit to provide support of requests
that have a body.
Issue: SPR-15066
2017-12-13 09:47:55 +01:00
Rossen Stoyanchev
4fe94dffc0
Fix regression in StompHeaderAccessor
...
Issue: SPR-16265
2017-12-11 16:42:27 -05:00