- 18 5月, 2016 2 次提交
-
-
由 Rossen Stoyanchev 提交于
Issue: SPR-14267
-
由 Rossen Stoyanchev 提交于
Issue: SPR-14279
-
- 12 5月, 2016 3 次提交
-
-
由 Rossen Stoyanchev 提交于
Normally heartbeats keep connections from hanging. However in some cases a connection may hang before a CONNECTED frame is received and heartbeats are put in place. This commit adds a change to enforce a 60 limit on receiving the CONNECTED frame. Issue: SPR-14266
-
由 Stephane Nicoll 提交于
* pr/1052: Fix CacheManager example in Javadoc
-
由 Stefan Ferstl 提交于
Closes gh-1052
-
- 06 5月, 2016 10 次提交
-
-
由 Juergen Hoeller 提交于
-
由 Stephane Nicoll 提交于
This reverts commit bee1b77a.
-
由 Juergen Hoeller 提交于
-
由 Juergen Hoeller 提交于
Issue: SPR-14221
-
由 Juergen Hoeller 提交于
Issue: SPR-14221
-
由 Juergen Hoeller 提交于
Issue: SPR-14249
-
由 Juergen Hoeller 提交于
Issue: SPR-13785
-
由 Juergen Hoeller 提交于
-
由 Sam Brannen 提交于
Prior to Java 8 it never really made much sense to author integration tests using interfaces. Consequently, the Spring TestContext Framework has never supported finding test-related annotations on interfaces in its search algorithms. However, Java 8's support for interface default methods introduces new testing use cases for which it makes sense to declare test configuration (e.g., @ContextConfiguration, etc.) on an interface containing default methods instead of on an abstract base class. This commit ensures that all non-repeatable, class-level test annotations in the Spring TestContext Framework can now be declared on test interfaces. The only test annotations that cannot be declared on interfaces are therefore @Sql and @SqlGroup. Issue: SPR-14184
-
由 Andy Clement 提交于
Prior to this commit the SpEL compiler would generate bad bytecode if the left hand operand of an instanceof was a primitive or if the right hand operand was a primitive type reference. With the fixes primitives on the left hand side are now correctly boxed and special handling is in place for when the right hand side is a primitive type reference. Using a primitive type reference on the right always causes the instanceof check to return false. Additionally a guard has been added such that compilation is not allowed when the right hand side of an expression is not a type reference. If it is, for example, a variable reference that evaluates to a type reference then that cannot be expressed in bytecode so compilation is not performed. Issue: SPR-14250
-
- 05 5月, 2016 3 次提交
-
-
由 Brian Clozel 提交于
Prior to this commit, the latest optimizations introduced in SPR-13913 would prevent matching when patterns contained spaces. Indeed, the optimized path would not fully tokenize the paths nor trim the tokens, as the "longer" code path does. This commit disables this optimized path when the `trimTokens` option is set to `true`. Also, the `trimTokens` setting is now set to `false` by default. Issue: SPR-14247
-
由 Juergen Hoeller 提交于
Latest dependency updates (EhCache 2.10.2, HtmlUnit 2.21, JOpt Simple 5.0.1, JRuby 1.7.25, Quartz 2.2.3, Undertow 1.3.22)
-
由 Juergen Hoeller 提交于
Issue: SPR-14244
-
- 04 5月, 2016 15 次提交
-
-
由 Juergen Hoeller 提交于
-
由 Juergen Hoeller 提交于
Issue: SPR-12216 Issue: SPR-12872
-
由 Juergen Hoeller 提交于
-
由 Sam Brannen 提交于
-
由 Juergen Hoeller 提交于
Issue: SPR-14241
-
由 Sam Brannen 提交于
-
由 Sam Brannen 提交于
-
由 Sam Brannen 提交于
-
由 Sam Brannen 提交于
Prior to this commit, information regarding avoiding false positives when testing with JPA had already been added to the Testing chapter of the reference manual. However, the example did not work properly and the accompanying text mixed concepts from Hibernate and JPA. This commit fixes the @Autowired/@PersistenceContext bug, updates the text, and marks each test as @Transactional in order to avoid any misinterpretation. Issue: SPR-9032
-
由 Sam Brannen 提交于
Prior to this commit, @BeforeTransaction and @AfterTransaction could only be declared on methods within test classes. However, JUnit 5 as well as some existing third-party Runner implementations for JUnit 4 already support Java 8 based interface default methods in various scenarios -- for example, @test, @BeforeEach, etc. This commit brings the Spring TestContext Framework up to date by supporting the declaration of @BeforeTransaction and @AfterTransaction on interface default methods. Issue: SPR-14183
-
由 Sam Brannen 提交于
This commit updates the Testing chapter in the reference manual to refer explicitly to JUnit 4 instead of just "JUnit" (where appropriate) in order to avoid confusion with forthcoming support for JUnit 5.
-
由 Sam Brannen 提交于
-
由 Juergen Hoeller 提交于
-
由 Juergen Hoeller 提交于
-
由 Rossen Stoyanchev 提交于
SendTo and SendToUser are treated as mutually exclusive. The addition of type-level support in 4.3. RC1 however did not consider the possibility to mix and match of the two betwee type and method level. This commit consolidates the detection of SendTo and SendToUser annotations and considers them all together. Issue: SPR-14238
-
- 03 5月, 2016 4 次提交
-
-
由 Brian Clozel 提交于
Issue: SPR-14240
-
由 Brian Clozel 提交于
Prior to this commit, setting the `forceEncoding` option would force encoding on both requests and responses. This commit adds two new setters and a new constructor to differentiate both options: forcing the encoding on the request and/or on the response. You can now define this filter programmatically using those options or update your servlet XML configuration like: ``` <filter> <filter-name>characterEncodingFilter</filter-name> <filter-class>o.sf.web.filter.CharacterEncodingFilter</filter-class> <init-param> <param-name>encoding</param-name> <param-value>UTF-8</param-value> </init-param> <init-param> <param-name>forceRequestEncoding</param-name> <param-value>true</param-value> </init-param> <init-param> <param-name>forceResponseEncoding</param-name> <param-value>false</param-value> </init-param> </filter> ``` Issue: SPR-14240
-
由 Juergen Hoeller 提交于
Issue: SPR-14239
-
由 Brian Clozel 提交于
Prior to this commit, the `ResourceHttpMessageConverter` would support all HTTP Range requests and `MethodProcessors` would "wrap" controller handler return values with a `HttpRangeResource` to support that use case in Controllers. This commit refactors that support in several ways: * a new ResourceRegion class has been introduced * a new, separate, ResourceRegionHttpMessageConverter handles the HTTP range use cases when serving static resources with the ResourceHttpRequestHandler * the support of HTTP range requests on Controller handlers has been removed until a better solution is found Issue: SPR-14221, SPR-13834
-
- 02 5月, 2016 3 次提交
-
-
由 Juergen Hoeller 提交于
Issue: SPR-14234
-
由 Juergen Hoeller 提交于
-
由 Juergen Hoeller 提交于
-