Juergen Hoeller
dd647659b3
Rearranged cache test class names across several modules
2015-11-26 16:30:44 +01:00
Juergen Hoeller
331e739255
Latest dependency updates (Hibernate ORM 5.0.4, Tomcat 8.0.29, Undertow 1.3.6)
2015-11-26 02:10:03 +01:00
Juergen Hoeller
8c4436926f
Polishing
2015-11-26 02:09:37 +01:00
Andy Clement
a39867bd8e
Tweak docs concerning method execution pointcut signature
...
Issue: SPR-13512
2015-11-25 16:44:34 -08:00
Juergen Hoeller
1da564d2f0
Joda/DateTimeFormatterRegistrar also supports YearMonth and MonthDay
...
Issue: SPR-13518
2015-11-25 23:39:14 +01:00
Juergen Hoeller
bc0b707175
JodaTimeFormatterRegistrar supports Duration and Period as well
...
Issue: SPR-6706
2015-11-25 23:10:32 +01:00
Juergen Hoeller
fd84262e71
Polishing
2015-11-25 23:09:24 +01:00
Stephane Nicoll
9882a53c7d
Fix test failure
2015-11-25 22:05:57 +01:00
Juergen Hoeller
a0747c2148
Consistent bean type checking for endpoint handlers
...
Issue: SPR-13725
2015-11-25 21:26:03 +01:00
Stephane Nicoll
c90ca15add
Fix caching tests
...
Update assertion to validate the proper exception type is thrown.
2015-11-25 17:49:44 +01:00
Juergen Hoeller
17df02d01e
Explicit flush example with JPA EntityManager
...
Issue: SPR-13723
2015-11-25 16:58:17 +01:00
Juergen Hoeller
24e4f56d7e
Test case for event listener methods on bean with potentially inactive scope
...
Also taking the opportunity to refine the "No Scope registered" exception message a bit.
Issue: SPR-13681
2015-11-25 16:56:39 +01:00
Juergen Hoeller
bb05bc7c01
EventListenerMethodProcessor leniently handles unresolvable bean types
...
Issue: SPR-13712
2015-11-25 15:40:38 +01:00
Juergen Hoeller
2a3bf69991
AsyncAnnotationBeanPostProcessor leniently handles ambiguous TaskExecutor beans
...
Issue: SPR-13720
2015-11-25 15:39:12 +01:00
Andy Clement
58756b023c
Ensure cast correctly included for OpPlus compilation
...
When the plus operator is used between strings in a SpEL
expression and that expression is compiled, it is
important to include a cast if computation of any of
the operands isn't obviously leaving strings on the
stack. Likewise if the stack contents are known to
be strings, a cast should not be included.
Issue: SPR-12426
2015-11-24 16:35:08 -08:00
Juergen Hoeller
d5ca5b74a5
DateTimeFormatterRegistrar supports Duration and Period as well
...
Issue: SPR-13721
2015-11-25 00:21:03 +01:00
Brian Clozel
b35d44bd4c
Fix inputstream reading for HTTP range requests
...
Prior to this commit, range requests would be served by
ResourceHttpRequestHandler by partially reading the inputstream of
static resources. In case of resources contained in ZIP/JAR containers,
InputStreams may not fill the entire read buffer when calling
`inputStream.read(byte[])`. This was the case when using Spring Boot's
ZipInflaterInputStream - this would then not read the entire file
content and would close the response without writing the expected body
length indicated in the "Content-Length" header.
This commit makes sure that the whole resource is read.
Issue: SPR-13661
2015-11-24 21:36:22 +01:00
Juergen Hoeller
20a286b4d6
ASM ClassWriter uses application ClassLoader for its getCommonSuperClass check
...
Issue: SPR-13695
2015-11-24 17:38:02 +01:00
Juergen Hoeller
3aefc96593
@ManagedOperationParameter declares @Target/@Retention/@Documented/@Repeatable now
...
This also turns @ManagedNotification into a repeatable annotation and consistently applies findAnnotation/getRepeatableAnnotations.
Issue: SPR-13700
2015-11-24 17:37:51 +01:00
Juergen Hoeller
0524f3a474
Class identity comparisons wherever possible
...
Issue: SPR-12926
2015-11-24 17:37:30 +01:00
Juergen Hoeller
e8417ea6e1
SimpAnnotationMethodMessageHandler skips template variable check in case of no pattern
...
Issue: SPR-13704
2015-11-24 17:37:12 +01:00
Brian Clozel
9d9433a6eb
Flush of underlying response in ContentCachingResponseWrapper
...
Prior to this commit, when adding a ShallowEtagHeaderFilter to an
application, the ServletResponse would be wrapped by a
ContentCachingResponseWrapper. When any part of the Spring
infrastructure calls `flushBuffer` on the wrapped response, the call is
delegated to the actual response, which is committed. It's not possible
to alter the response (headers, content) anymore - the ETag filter can't
act.
This change prevents the `flushBuffer` call to be delegated and only
commits the underlying response once the cached content is copied to the
actual response stream.
Issue: SPR-13717
2015-11-24 17:26:03 +01:00
Stephane Nicoll
bf1afdfdc9
Add cache tests for JCache
2015-11-24 10:15:09 +01:00
Andy Clement
29303ef591
Allow MapAccessor to be compilable in SpEL expressions
...
With this change the MapAccessor now extends CompilablePropertyAccessor
rather than just PropertyAccessor. This means that any expression that
ends up using the MapAccessor is now compilable for fast performance.
Issue: SPR-13638
2015-11-23 09:25:57 -08:00
Stephane Nicoll
610b5a20ea
Fix test name
2015-11-23 18:22:53 +01:00
Stephane Nicoll
8dea3c5ade
Remove test duplication
2015-11-23 18:19:58 +01:00
Stephane Nicoll
918e0a3888
Merge pull request #926 from kazuki43zoo/modify-tld-in-adoc
...
* pr/926:
Add link in jsp tag library
2015-11-23 09:27:20 +01:00
Kazuki Shimizu
66d99f05aa
Add link in jsp tag library
...
Closes gh-926
2015-11-23 09:26:07 +01:00
Rossen Stoyanchev
5f2d34f526
Update Javadoc
...
Issue: SPR-13678
2015-11-17 15:19:40 -05:00
Sam Brannen
de9c030ba1
Suppress warnings in Gradle build
2015-11-17 14:10:35 +01:00
Stephane Nicoll
d6073eaf8d
Merge pull request #923 from uthark/patch-2
...
* pr/923:
Remove invalid underscore
2015-11-17 09:58:49 +00:00
Oleg Atamanenko
b2c132633f
Remove invalid underscore
...
Closes gh-923
2015-11-17 09:58:08 +00:00
Stephane Nicoll
e0f4736426
Merge pull request #922 from uthark/patch-1
...
* pr/922:
Add quotes around attribute value
2015-11-17 09:57:15 +00:00
Oleg Atamanenko
a834639ac8
Add quotes around attribute value
...
Closes gh-922
2015-11-17 09:56:46 +00:00
Sam Brannen
59d60c60cf
Polishing
2015-11-16 01:44:16 +01:00
Spring Buildmaster
d781ac0c92
Next Development Version
2015-11-15 08:33:31 -08:00
Juergen Hoeller
1cb6069734
Polishing
2015-11-14 23:52:39 +01:00
Sam Brannen
4b682275c9
Clean up warnings in spring-test
2015-11-14 22:57:33 +01:00
Juergen Hoeller
5b901852e6
Upgrade to HtmlUnit 2.19
...
This upgrade includes AutoCloseable support for HtmlUnit WebConnections as introduced in 2.19, while remaining compatible with 2.18.
Issue: SPR-13686
2015-11-14 15:32:42 +01:00
Juergen Hoeller
ce5887795b
Latest dependency updates (JasperReports 6.2, Jetty 9.3.6, Joda-Time 2.9.1, HttpAsyncClient 4.1.1)
2015-11-13 22:46:03 +01:00
Juergen Hoeller
6d5c646faf
Empty lists declared with element type (for javac to accept it)
...
Issue: SPR-13680
2015-11-13 21:18:28 +01:00
Juergen Hoeller
3cb926e01c
Task list getters never return null now
...
Issue: SPR-13680
2015-11-13 20:26:44 +01:00
Juergen Hoeller
55d20557e0
Task list getters explicitly check for null now
...
Issue: SPR-13680
2015-11-13 14:25:28 +01:00
Juergen Hoeller
4b2ce60d65
Polishing
2015-11-13 08:31:13 +01:00
Juergen Hoeller
98be36a306
Extended default collection size for common per-bean caches
...
Issue: SPR-13621
2015-11-13 08:31:00 +01:00
Juergen Hoeller
7b711c4aac
AbstractAutoProxyCreator uses prefixed bean name as cache key
...
Issue: SPR-13655
2015-11-13 08:26:43 +01:00
Juergen Hoeller
90c9d96a4d
Avoid exposeTargetClass attempt if bean name is null
...
Issue: SPR-13650
2015-11-13 08:23:15 +01:00
Johnny Lim
2defb6555e
Fix broken Javadoc related to `<` and `>`
2015-11-12 11:22:08 +01:00
Sebastien Deleuze
71e2d8e9de
Handle correctly * in CorsConfiguration#combine() other parameter
...
Issue: SPR-13674
2015-11-12 10:40:32 +01:00
Juergen Hoeller
e8a0ef0206
Polishing
2015-11-12 00:48:14 +01:00