Rossen Stoyanchev
db1092f119
Polish RequestMappingInfoTests
2016-06-21 10:43:08 -04:00
Juergen Hoeller
848562d68a
Upgrade to CGLIB 3.2.3
...
Issue: SPR-14385
2016-06-21 10:13:42 +02:00
Juergen Hoeller
56db1af11d
No tomcat-embed-logging-juli on Tomcat 8.5.3 anymore
2016-06-20 14:24:16 +02:00
Juergen Hoeller
8cb9d5ebae
EnableAspectJAutoProxy features exposeProxy flag (analogous to XML namespace)
...
Issue: SPR-10454
2016-06-20 13:50:04 +02:00
Juergen Hoeller
01f115869b
Bootstrap SessionFactory implements InfrastructureProxy interface for resource key unwrapping
...
Issue: SPR-14379
2016-06-20 13:42:42 +02:00
Juergen Hoeller
f9fec73f1d
Latest dependency updates (Gson 2.7, Jackson 2.8 RC2, Tomcat 8.5.3, Caffeine 2.3.1)
2016-06-20 13:41:04 +02:00
Rossen Stoyanchev
ba885f3d0b
Add heartbeat lock to SockJS server sessions
...
Even before this change SockJS sessions always cancelled the heartbeat
task first prior to sending messages. However when the heartbeat task
is already in progress, cancellation of it is not enough and we must
wait until the heartbeat is sent.
This commit adds a heartbeat write lock which is obtained and held
during the sending of a heartbeat. Now when sessions send a message
they still cancel the heartbeat task but if that fails they also wait
for the heartbeat write lock.
Issue: SPR-14356
2016-06-17 16:54:54 -04:00
Rossen Stoyanchev
919f6c96f9
ForwardedHeaderFilter is case-insensitive
...
Issue: SPR-14372
2016-06-17 14:20:42 -04:00
nkjackzhang
981a748dcc
Fix ambiguous static import in TestPropertySourceUtilsTests
2016-06-17 17:18:36 +02:00
Stephane Nicoll
6f9fb31bf9
Merge pull request #1082 from nkjackzhang:patch-2
...
* pr/1082:
Move <a> out of @code
2016-06-17 08:08:02 +02:00
nkjackzhang
c145ceebf3
Move <a> out of @code
...
Closes gh-1082
2016-06-17 08:06:21 +02:00
Stephane Nicoll
bcfc09a93c
Document sync attribute of Cacheable
...
Closes gh-14366
2016-06-16 13:14:53 +02:00
Stephane Nicoll
b92576d8d9
Merge pull request #1080 from nkjackzhang:patch-2
...
* pr/1080:
Polish contribution
Fix typo in javadoc
2016-06-16 12:13:01 +02:00
Stephane Nicoll
d41178c75a
Polish contribution
...
Closes gh-1080
2016-06-16 12:12:42 +02:00
nkjackzhang
9656015d26
Fix typo in javadoc
...
See gh-1080
2016-06-16 12:11:14 +02:00
Juergen Hoeller
7d39957ec9
SessionFactoryUtils defensively accesses getProperties method via reflection
...
Issue: SPR-14365
2016-06-15 16:48:34 +02:00
Sam Brannen
9001af7efb
Revert build to Gradle 2.13
...
Issue: SPR-14362
2016-06-15 13:00:40 +02:00
Juergen Hoeller
b5364d5f1a
SpringSessionSynchronization uses SessionFactoryUtils.getFlushMode for Hibernate 5.1/5.2 adaptation
...
Issue: SPR-14364
2016-06-14 22:55:31 +02:00
Juergen Hoeller
dcb2c73102
MultipartResolutionDelegate skips Part parameter checks on Servlet 2.5
...
Issue: SPR-14358
2016-06-14 22:48:51 +02:00
Sam Brannen
045ee52232
Invoke target.toString() safely in ReflectionTestUtils
...
ReflectionTestUtils invokes toString() on target objects in order to
build exception and logging messages, and prior to this commit problems
could occur if the invocation of toString() threw an exception.
This commit addresses this issue by ensuring that all invocations of
toString() on target objects within ReflectionTestUtils are performed
safely within try-catch blocks.
Issue: SPR-14363
2016-06-14 20:08:26 +02:00
Sam Brannen
2fd4462268
Upgrade build to Gradle 2.14
...
In the process of upgrading the build to use Gradle 2.14, the
setFieldOnLegacyEntityWithSideEffectsInToString() test method in
ReflectionTestUtilsTests began to fail. The reason is that the log
level for ReflectionTestUtils is now DEBUG by default with Gradle 2.14.
The apparent cause is that log4j was present on the test runtime
classpath for the spring-test module with all previous versions of
Gradle (via a transitive optional dependency from another project that
spring-test depends on). Thus the configuration in log4j.properties in
spring-test was previously honored, but with Gradle 2.14 a different
commons logging implementation is picked up.
Thus, in addition to upgrading the build to Gradle 2.14, this commit
introduces an explicit test runtime dependency on log4j in the
spring-test module.
The discovered bug in ReflectionTestUtils regarding DEBUG log level
will be addressed separately.
Issue: SPR-14362
2016-06-14 18:40:01 +02:00
Sam Brannen
0815560c85
Migrate to Asciidoctor 1.5 syntax
...
Issue: SPR-14355
2016-06-11 12:51:38 +02:00
Spring Buildmaster
d60028caf1
Next Development Version
2016-06-10 08:59:53 +00:00
Juergen Hoeller
ca12e13ef8
ObjectUtils.nullSafeEquals allows for JVM method inlining (through reducing its bytecode size)
...
Issue: SPR-14349
2016-06-09 22:40:08 +02:00
Sam Brannen
57ca8f5347
Document TestContext bootstrapping in the reference manual
...
Issue: SPR-11683
2016-06-09 21:50:57 +02:00
Juergen Hoeller
7c96059ca3
BeanPropertyRowMapper uses ConversionService for date-time support
...
Issue: SPR-13888
2016-06-09 19:19:08 +02:00
Sam Brannen
f0451294de
Improve formatting for test annotations in reference manual
2016-06-09 17:09:15 +02:00
Sam Brannen
53909a5333
Polish key abstractions section for the TCF
2016-06-09 17:09:15 +02:00
Juergen Hoeller
1dfc0ffd43
SpringHandlerInstantiator supports all HandlerInstantiator-provided factory methods
...
Issue: SPR-14347
2016-06-09 17:02:39 +02:00
Juergen Hoeller
d51c22a789
Consistent processing of empty values and catching of RuntimeExceptions for Formatters
...
Issue: SPR-14345
2016-06-09 10:49:15 +02:00
Stephane Nicoll
8432c62b50
Merge pull request #1073 from fisache:master
...
* pr/1073:
Polish contribution
Polish doc
2016-06-09 10:38:38 +02:00
Stephane Nicoll
f7dd8e34b3
Polish contribution
...
Closes gh-1073
2016-06-09 10:38:16 +02:00
fisache
4465e4ff6c
Polish doc
...
See gh-1073
2016-06-09 10:35:06 +02:00
Juergen Hoeller
c6f63bdb30
Assertions for error codes in case of formatting failures
...
Issue: SPR-14345
2016-06-08 15:54:00 +02:00
Juergen Hoeller
d1d29cf699
Documented support for new library and server generations
2016-06-08 15:23:06 +02:00
Juergen Hoeller
a211d1472e
Polishing
2016-06-08 15:22:01 +02:00
Sam Brannen
da051b87e6
Polish documentation for stereotype names
2016-06-08 14:38:58 +02:00
Sam Brannen
c9de6f23ef
Document web scope annotations in the reference manual
...
Issue: SPR-13994
2016-06-08 14:38:58 +02:00
Juergen Hoeller
cc7781ecf3
FormHttpMessageConverter's charset (and its UTF-8 default) applies to part converters as well
...
Issue: SPR-14338
2016-06-08 13:58:44 +02:00
Juergen Hoeller
8fc84e2d6f
Upgrade to Jackson 2.8 RC1, Undertow 1.4 CR1, Netty 4.1.1
...
Issue: SPR-14340
Issue: SPR-14328
Issue: SPR-14143
2016-06-08 09:47:51 +02:00
Juergen Hoeller
981c894acf
@ExceptionHandler matches against cause type as well
...
Issue: SPR-14291
2016-06-07 21:22:01 +02:00
Sam Brannen
99ae7e3bcb
Document web scope annotations in the reference manual
...
Issue: SPR-13994
2016-06-07 20:17:34 +02:00
Sam Brannen
47d77252d3
Document web scope annotations in the reference manual
...
Issue: SPR-13994
2016-06-07 19:07:38 +02:00
Sam Brannen
6804aad06f
Update reference manual regarding supported web scopes
2016-06-07 19:07:38 +02:00
Sam Brannen
e2810904b0
Fix Javadoc formatting
2016-06-07 19:07:38 +02:00
Juergen Hoeller
f5a9d5e076
Upgrade to Groovy 2.4.7
2016-06-07 18:09:02 +02:00
Sam Brannen
01d234f9f3
Use composed @RequestMapping variants in the reference manual
...
Issue: SPR-13995
2016-06-07 18:06:14 +02:00
Sam Brannen
c121f460b1
Document composed @RequestMapping variants in the reference manual
...
Issue: SPR-13995
2016-06-07 17:26:57 +02:00
Juergen Hoeller
31aed61d15
CorsFilter asserts presence of CorsConfigurationSource
2016-06-07 16:49:23 +02:00
Sam Brannen
4432da3659
Update testing improvements in "What's New"
2016-06-07 16:32:42 +02:00