Juergen Hoeller
db1a84ede1
Polishing
2016-11-07 18:48:35 +01:00
Juergen Hoeller
3d2e4c338c
Refined throwing of BeanCreationExceptions (and reflection exceptions)
...
Issue: SPR-14883
2016-11-07 18:47:54 +01:00
Juergen Hoeller
b42d731fc8
Consistent throwing of BeanCreationExceptions (and reflection exceptions)
...
Issue: SPR-14883
2016-11-07 16:56:35 +01:00
Juergen Hoeller
fd7045adac
Polishing
...
(cherry picked from commit 9b57437 )
2016-11-07 13:02:50 +01:00
Juergen Hoeller
e26d3505f7
Upgrade to OkHttp 3.4.2 and Tiles 3.0.7
2016-11-04 14:55:37 +01:00
Juergen Hoeller
fe0249bf8f
Polishing
2016-11-04 13:37:06 +01:00
Juergen Hoeller
2ac682e125
Upgrade to Joda-Time 2.9.5
2016-11-04 13:30:25 +01:00
Juergen Hoeller
9be1710dca
@Async docs explicitly mention ListenableFuture and CompletableFuture
...
Issue: SPR-14881
(cherry picked from commit 8df45dd )
2016-11-04 13:30:11 +01:00
Juergen Hoeller
7e7504f5ea
Polishing
2016-11-03 23:20:33 +01:00
Juergen Hoeller
e83c11667f
ApplicationListenerDetector ignores non-managed bean instances
...
Issue: SPR-14879
(cherry picked from commit 8ae0bd6 )
2016-11-03 23:20:06 +01:00
Juergen Hoeller
05547979de
Polishing
...
Issue: SPR-14867
(cherry picked from commit a90e4b2 )
2016-11-03 14:54:15 +01:00
Juergen Hoeller
9e67ba83a5
Consistent support for early placeholder resolution in properties locations
...
Issue: SPR-10502
(cherry picked from commit 8053fef )
2016-11-03 14:53:46 +01:00
Juergen Hoeller
2bb3522bbb
ReloadableResourceBundleMessageSource sets file timestamp on merged holder
...
Issue: SPR-14583
(cherry picked from commit 03468fd )
2016-11-03 14:53:24 +01:00
Rossen Stoyanchev
8f4ec35697
Check SockJS session type
...
This commits adds a validation check whether the SockJS session type
matches the transport type and rejects requests for which they
don't match.
Issue: SPR-14867
2016-11-03 09:38:24 +02:00
Juergen Hoeller
17863dfbda
AnnotatedElementAdapter explicitly declares isAnnotationPresent method
...
Issue: SPR-14872
2016-11-02 14:41:11 +01:00
Juergen Hoeller
56bb20d489
Upgrade to HtmlUnit 2.23 and JSONAssert 1.4
2016-11-02 14:40:10 +01:00
Juergen Hoeller
5baf32cd81
Upgrade to Caffeine 2.3.4
2016-11-02 14:02:49 +01:00
Andy Clement
38cd1ecff4
Rework compilation of OpNE/OpEQ SpEL operators
...
For SPR-14863 we need to adjust the code generation for OpNE
to use !x.equals(y) rather than x!=y. There are also further
cases in the equalityCheck() code in Operator that were not
being handled in the compilation case (when comparators are
used for example). This latter issue also affects OpEQ.
Rather than add yet more bytecode generation, both OpNE and
OpEQ generateCode() methods have been simplified. The
generated code now delegates to equalityCheck() in Operator
which is exactly what the interpreted case does.
This ensures that the compiled code continues to behave just
like the interpreted case. It ensures changes to the interpreted
case are automatically picked up for the compiled case. It
makes the bytecode generation simpler.
The benefit of compilation of SpEL expressions is to avoid
slow reflective calls - that doesn't apply for a basic
(in)equality test so there is no need to go crazy in bytecode
gen.
Issue: SPR-14863
(cherry picked from commit 9000acd )
2016-11-02 12:40:24 +01:00
Juergen Hoeller
77e00f1926
Polishing
2016-10-31 20:40:46 +01:00
Juergen Hoeller
ade139f2d0
Polishing
...
(cherry picked from commit 45fc449 )
2016-10-31 19:29:04 +01:00
Juergen Hoeller
653f35a3d8
Upgrade to H2 1.4.193 and Derby 10.13.1.1
...
(cherry picked from commit eaf8078 )
2016-10-31 19:28:58 +01:00
Juergen Hoeller
baa7aecf60
Polishing
...
(cherry picked from commit 7f280a3 )
2016-10-31 12:40:44 +01:00
Juergen Hoeller
d859826be6
ASM-generated class names get interned for better memory allocation
...
Issue: SPR-14862
2016-10-31 11:56:34 +01:00
Juergen Hoeller
d759c96a98
Latest applicable dependency updates (Hibernate ORM 5.2.4, Gson 2.8, Guava 20)
2016-10-31 11:54:29 +01:00
Juergen Hoeller
7cbab0efe3
LocalSessionFactoryBean clears default MetadataSources on reinitialization
...
Issue: SPR-14815
2016-10-31 11:53:10 +01:00
Arjen Poutsma
b6b536682e
Make HttpComponentsAsyncClientHttpRequest abortable
...
This commit aborts the HttpComponentsAsyncClientHttpRequest whenever the
returned Future is canceled.
Issue: SPR-14845
(cherry picked from commit 8f84446 )
2016-10-31 11:51:26 +01:00
Juergen Hoeller
edf1df33cc
ObjectToObjectConverter properly handles constructors on non-public classes
...
Issue: SPR-14304
(cherry picked from commit 9659bc5 )
2016-10-31 11:51:05 +01:00
Juergen Hoeller
bf0df54136
Consistent instanceof/casting of Class references
...
(cherry picked from commit ac80ac6 )
2016-10-31 11:50:59 +01:00
Juergen Hoeller
7e80d2de79
Exceptions thrown from @ExceptionHandler methods logged at warn level (instead of debug)
...
Issue: SPR-14861
(cherry picked from commit 7627c38 )
2016-10-31 11:50:45 +01:00
Juergen Hoeller
144f687ee9
Polishing
...
(cherry picked from commit 2f9ed59 )
2016-10-31 11:50:36 +01:00
Juergen Hoeller
0ee8322947
Revised NoSuchBeanDefinitionException message and ResolvableType handling
...
Includes consistent quoting of qualified type names in related classes.
Issue: SPR-14831
(cherry picked from commit dc080cb )
2016-10-31 11:50:15 +01:00
Juergen Hoeller
997fb5fb48
DefaultListableBeanFactory allows early type matching against ScopedProxyFactoryBean
...
Issue: SPR-14816
(cherry picked from commit 3633244 )
2016-10-31 11:50:02 +01:00
Juergen Hoeller
2b459881bd
ApplicationListener detection for inner beans behind post-processors
...
Issue: SPR-14783
(cherry picked from commit c946924 )
2016-10-31 11:49:06 +01:00
Juergen Hoeller
e18e7eca47
No external locking for singleton advice/aspect beans
...
Issue: SPR-14324
(cherry picked from commit 5ac5ec1 )
2016-10-31 11:48:12 +01:00
Juergen Hoeller
1c80d2ac2f
Avoid deadlock between SockJS heartbeat and XHR polling
...
Issue: SPR-14833
(cherry picked from commit 72e1f7e )
2016-10-31 11:47:23 +01:00
Juergen Hoeller
62918ca779
TypeDescriptor supports merged annotation lookups (for composable formatting annotations)
...
Issue: SPR-14844
(cherry picked from commit bf9083d )
2016-10-31 11:46:30 +01:00
Juergen Hoeller
3cca57a801
Local merged annotation lookup in SpringCacheAnnotationParser
...
Issue: SPR-14781
Issue: SPR-14801
(cherry picked from commit 08972ef )
2016-10-31 11:45:35 +01:00
Juergen Hoeller
5578a2e46d
Test for multi-character delimiter
...
Issue: SPR-14808
(cherry picked from commit 71d8338 )
2016-10-31 11:45:01 +01:00
Juergen Hoeller
fe19cfde28
Tightened StringValueResolver contract
...
Issue: SPR-14842
(cherry picked from commit 20419d7 )
2016-10-31 11:44:46 +01:00
Juergen Hoeller
fbad637235
SimpleApplicationEventMulticaster just swallows event downcast exceptions
...
Issue: SPR-14846
(cherry picked from commit 13001b9 )
2016-10-31 11:44:26 +01:00
Juergen Hoeller
01e9307fb7
DataSourceTransactionManager triggers flush callbacks on registered transaction synchronizations
...
Issue: SPR-14847
(cherry picked from commit 2874066 )
2016-10-31 11:44:17 +01:00
Juergen Hoeller
5697cb6c95
AccessorLValue reliably downcasts to CompilablePropertyAccessor in concurrent scenarios
...
Issue: SPR-14850
(cherry picked from commit e2b1dcb )
2016-10-31 11:44:08 +01:00
Juergen Hoeller
05ff83f95a
ResourceHttpRequestHandler initializes PathExtensionContentNegotiationStrategy in afterPropertiesSet
...
Issue: SPR-14851
(cherry picked from commit b7d3a96 )
2016-10-31 11:43:57 +01:00
Stephane Nicoll
1e3012cb49
Allow to customize TestDispatcherServlet
...
This commit introduces the `DispatcherServletCustomizer` callback
interface that can be used to customize the `DispatcherServlet` that a
`MockMvc` is using.
Previously, only the `dispatchOptions` flag can be customized. This
commit allows to customize any property of `DispatcherServlet` before it
is initialized.
Issue: SPR-14277
2016-10-29 11:09:48 +02:00
Rossen Stoyanchev
45b8cf350e
Better handling for AsyncRequestTimeoutException
...
Avoid call to sendError when response is committed and log a short
error message instead.
Issue: SPR-14739
2016-10-28 17:41:48 +03:00
Stephane Nicoll
2c2c6f8e02
Fix broken build
...
This commit fixes the direct use of Java8 API
Issue: SPR-14853
2016-10-27 10:30:54 +02:00
Stephane Nicoll
4e3a6b9404
Polish
2016-10-27 10:01:51 +02:00
Stephane Nicoll
76bbccb4dc
Allow @Cacheable method to return Optional
...
This commit further refines 240f254 to also support java.util.Optional
for synchronized cache access (i.e. when the `sync` attribute on
`@Cacheable` is set to `true`).
Issue: SPR-14853
2016-10-27 10:00:34 +02:00
Stephane Nicoll
1c4433555a
Move NoOpCache to a top-level public class
...
This commit moves `NoOpCache` to a top-level public class to allow reuse
in custom CacheManager arrangement.
Issue: SPR-14856
2016-10-27 09:09:51 +02:00
Eric Jain
faaced1d86
Escape (( and )) to prevent asciidoc processing
...
See http://asciidoctor.org/docs/user-manual/#user-index
Closes gh-1225
2016-10-27 08:50:27 +02:00