Sam Brannen
177f4ec3a7
Polish annotation utils
2016-07-15 19:54:53 +02:00
Sam Brannen
53c9584025
Remove obsolete references to @AliasFor in Javadoc for AnnotationAttributes
2016-07-15 19:53:54 +02:00
Sam Brannen
53dd88437e
Delete dead code in AnnotationAttributes
2016-07-15 19:51:33 +02:00
Sam Brannen
3f317b7d3f
Clean up warnings in spring-web
2016-07-15 18:38:27 +02:00
Sam Brannen
58804da369
Polish Reactor & RxJava response extractors
2016-07-15 17:54:24 +02:00
Sam Brannen
1731460eac
Ensure Reactor & RxJava response extractors compile with Eclipse JDT
2016-07-15 17:53:15 +02:00
Sam Brannen
841480596e
Clean up warnings in Gradle build
2016-07-15 17:38:35 +02:00
Juergen Hoeller
503f0e3397
Polishing
2016-07-15 17:27:59 +02:00
Juergen Hoeller
a0df71e76a
ConfigurationClassParser load annotations through source class loader
...
Issue: SPR-10343
(cherry picked from commit 9e93403
)
2016-07-15 17:17:25 +02:00
Juergen Hoeller
3d3407c789
Consistent alias processing behind AnnotatedTypeMetadata abstraction (also for ASM)
...
Issue: SPR-14427
2016-07-15 13:59:25 +02:00
Juergen Hoeller
b1663585dc
MessageHeaderAccessor properly removes header even in case of null value
...
Issue: SPR-14468
2016-07-15 00:15:46 +02:00
Rossen Stoyanchev
d2e105f28d
Add @Since 5.0 and package-info for reactive classes
2016-07-14 17:40:17 -04:00
Juergen Hoeller
e2c7653da4
Correct parameter index boundary in exception message
...
Issue: SPR-14466
2016-07-14 22:29:14 +02:00
Juergen Hoeller
e431624e84
CronSequenceGenerator prevents stack overflow in case of inverted range
...
Issue: SPR-14462
2016-07-14 21:11:28 +02:00
Juergen Hoeller
6d91d54fc9
StandardTypeConverter initializes default ConversionService against volatile field
...
Issue: SPR-14465
2016-07-14 21:10:24 +02:00
fisache
9aa35a8b5f
Polish doc
...
Closes gh-1108
2016-07-14 19:15:38 +02:00
Arjen Poutsma
3e47fccf2b
Propagate IOExceptions in Servlet bridge
2016-07-14 12:30:35 -04:00
Arjen Poutsma
4390cd0c2b
Fixed Jaxb2CollectionHttpMessageConverterTests
...
- Added Woodstox before Aalto in the spring-web build, so that Woodstox
is used as StAX implementation, and not the less featured Aalto.
- Hardcoded Aalto dependency in XmlEventDecoder, instead of relying on
the StAX XMLInputFactory.
2016-07-14 12:30:35 -04:00
Rossen Stoyanchev
5d1b542698
Move spring-web-reactive classes to spring-web
2016-07-14 12:30:35 -04:00
Rossen Stoyanchev
2e8326220b
Move spring-web-reactive classes to spring-core
2016-07-14 12:30:30 -04:00
Rossen Stoyanchev
1022683d1c
Fix compiler warnings
2016-07-14 12:18:47 -04:00
Rossen Stoyanchev
cb798726bd
Update build for spring-web-reactive module
2016-07-14 12:18:39 -04:00
Rob Winch
934bc4f953
Merge spring-reactive
2016-07-14 11:03:32 -05:00
Sam Brannen
fd008405a1
Note in TEL: before/after test exec. callbacks don't work w/ JUnit 4 rules
...
Issue: SPR-4365
2016-07-14 15:46:54 +02:00
Sam Brannen
3fa88c2b56
Document suppressed exception support in TestContextManager
...
Issue: SPR-14459
2016-07-14 15:43:18 +02:00
nkjackzhang
e2b8a786ff
Polish doc
...
Closes gh-1110
2016-07-14 11:56:46 +02:00
Stephane Nicoll
ff738e7670
Polish contribution
...
Closes gh-1070
2016-07-14 11:12:06 +02:00
spodgurskiy
f075aac7f9
Fix MethodBasedEvaluationContext.lazyLoadArguments
...
This commit fix a potential `ArrayIndexOutOfBoundsException` if
`lazyLoadArguments` is called with an empty variable argument.
See gh-1070
2016-07-14 10:58:21 +02:00
Juergen Hoeller
dd65689e0a
MethodParameter.equals accepts subclasses pointing to same target declaration again
...
Issue: SPR-14438
2016-07-14 09:51:37 +02:00
Juergen Hoeller
04e9c2bf0c
Aspect actually applies in PersistenceExceptionTranslationPostProcessorTests
...
Issue: SPR-14457
2016-07-13 22:31:41 +02:00
Juergen Hoeller
adbc592f50
Unwrap JPA PersistenceException on flush failure (for Hibernate 5.2)
...
Issue: SPR-14457
2016-07-13 22:30:52 +02:00
Juergen Hoeller
ddb4117233
HibernateExceptionTranslator converts JPA exceptions as well (for Hibernate 5.2)
...
Issue: SPR-14455
2016-07-13 22:24:38 +02:00
Sam Brannen
adfea826cc
Configure JUL/log4j for JUnit 5 in spring-test
...
Issue: SPR-14431
2016-07-13 22:06:46 +02:00
Sam Brannen
833deadddc
Ensure test fails for the correct reason
...
Prior to this commit, a dynamic test in
FailingBeforeAndAfterMethodsSpringExtensionTestCase was failing but for
the wrong reason. Namely, the @Configuration class was private which
resulted in an IllegalStateException being thrown, when in fact
an AssertionFailedError was expected.
This commit addresses this by introducing an explicit check for an
AssertionFailedError.
Issue: SPR-4365
2016-07-13 21:10:47 +02:00
Sam Brannen
7ec85a3c3b
Support suppressed exceptions in the TestContext framework
...
Prior to this commit, if multiple TestExecutionListener 'after' methods
threw an exception, only the first such exception was rethrown.
Subsequent exceptions were logged, but there was no way to access or
process them other than via the log file.
This commit addresses this shortcoming by making use of the support for
suppressed exceptions introduced in Java 7. Specifically, if multiple
TestExecutionListener 'after' methods throw an exception, the first
exception will be rethrown with subsequent exceptions suppressed in the
first one.
Issue: SPR-14459
2016-07-13 20:29:01 +02:00
Sam Brannen
5f176f50d3
Polishing
2016-07-13 18:18:40 +02:00
Sam Brannen
6162e30f3c
Clean up warnings in AsyncTests
2016-07-13 16:39:49 +02:00
Juergen Hoeller
8ccd727c9a
AbstractHandlerMethodMapping adds type+method info to getMappingForMethod exceptions
...
Issue: SPR-14452
2016-07-13 15:42:34 +02:00
Juergen Hoeller
84afc601b8
Configurable UrlPathHelper in PathExtensionContentNegotiationStrategy
...
This commit also aligns ResourceUrlProvider's and RequestMappingInfo's UrlPathHelper setter/getter signatures.
Issue: SPR-14454
2016-07-13 15:14:42 +02:00
Arjen Poutsma
56e50d6d68
Moved body processor to writeWithInternal()
...
Moved ResponseBodyProcessor creation from constructor to
writeWithInternal(), in preparation of supporting both
Publisher<DataBuffer> as well as Publisher<Publisher<DataBuffer>>.
2016-07-13 12:04:40 +02:00
Arjen Poutsma
7519d1de41
Moved log4j config to test tree
...
Moved log4j.properties from the main source tree to the test tree.
2016-07-13 09:56:45 +02:00
Arjen Poutsma
f82f17d7f7
Moved Servlet Publisher and Processor
...
In preparation of supporting both Publisher<DataBuffer> and
Publisher<Publisher<DataBuffer>> as response body, moved
RequestBodyPublisher and ResponseBodyProcessor into
ServletServerHttpRequest and ServletServerHttpResponse respectively.
2016-07-13 09:53:39 +02:00
Arjen Poutsma
392a1660a4
Polishing
2016-07-13 09:53:39 +02:00
Arjen Poutsma
e64907eed8
Removed ServletAsyncContextSynchronizer
2016-07-13 09:53:39 +02:00
Arjen Poutsma
d2fce24eb4
Introduced ResponseBodyWriteResultPublisher
...
Refactored Publisher<Void> in AbstractResponseBodyProcessor into
separate ResponseBodyWriteResultPublisher.
2016-07-13 09:53:39 +02:00
Rossen Stoyanchev
e91c1cd5a7
Merge pull request #1106 from darklynx/streaming_response_test
2016-07-12 17:50:40 -04:00
Rossen Stoyanchev
01a63dd84d
Polish AsyncTests
2016-07-12 17:49:55 -04:00
Vladimir L
7da63c57b3
tests for asynchronous processing if controller returns StreamingResponseBody
2016-07-12 17:44:10 -04:00
Brian Clozel
e906a78e0f
Move server testing infrastructure to test sources
2016-07-12 17:36:30 +02:00
Sam Brannen
c341b39f71
Move "What's New" reference manual chapter to the wiki
...
A "What's New" page has been created in the Spring Framework wiki:
https://github.com/spring-projects/spring-framework/wiki/What's-New-in-the-Spring-Framework
This commit therefore links to the new wiki page from the appendix of
the reference manual and deletes the existing "What's New" chapter from
the reference manual.
Issue: SPR-14449
2016-07-12 17:35:49 +02:00