- 30 3月, 2018 19 次提交
-
-
由 Juergen Hoeller 提交于
Issue: SPR-16667
-
由 Juergen Hoeller 提交于
Issue: SPR-16670
-
由 Juergen Hoeller 提交于
-
由 Juergen Hoeller 提交于
Issue: SPR-16667
-
由 Johnny Lim 提交于
-
由 Sam Brannen 提交于
-
由 Sam Brannen 提交于
-
由 Sam Brannen 提交于
-
由 Rossen Stoyanchev 提交于
Issue: SPR-16650
-
由 Juergen Hoeller 提交于
Issue: SPR-15756
-
由 Juergen Hoeller 提交于
Issue: SPR-16671
-
由 Juergen Hoeller 提交于
Issue: SPR-16669
-
由 igor-suhorukov 提交于
-
由 igor-suhorukov 提交于
-
由 igor-suhorukov 提交于
-
由 Rossen Stoyanchev 提交于
Issue: SPR-16660
-
由 Rossen Stoyanchev 提交于
Issue: SPR-16660
-
由 Thor Andreas Rognan 提交于
-
由 Rossen Stoyanchev 提交于
-
- 29 3月, 2018 14 次提交
-
-
由 Sam Brannen 提交于
Prior to this commit it was impossible to have an individual constructor argument in a @Nested (i.e., inner) test class injected via @Autowired, @Qualifier, or @Value. This is due to a bug in javac on JDK versions prior to 9, whereby annotation lookups performed directly via the java.lang.reflect.Parameter API fail for inner class constructors. Specifically, the parameter annotations array in the compiled byte code for the user's test class excludes an entry for the implicit enclosing instance parameter for an inner class constructor. This commit introduces a workaround in ParameterAutowireUtils for this off-by-one error by transparently looking up annotations on the preceding Parameter object (i.e., index - 1). In addition, this commit relies on the change recently introduced in MethodParameter in order to compensate for the same JDK bug (see SPR-16652). Issue: SPR-16653
-
由 Sam Brannen 提交于
-
由 Sam Brannen 提交于
-
由 Juergen Hoeller 提交于
-
由 Juergen Hoeller 提交于
-
由 Juergen Hoeller 提交于
Issue: SPR-16616
-
由 Juergen Hoeller 提交于
Issue: SPR-16652
-
由 Juergen Hoeller 提交于
Issue: SPR-16658
-
由 nkjackzhang 提交于
In my opinion, we should parse ":{x}" style parameter as "x" is parameter using "NamedParameterUtils.parseSqlStatement", so the condition "j - i > 2" is the correct condition, not "j - i > 3", because if "i" is the index of ":" in ":{x}", and "j" is the index of "}" in ":{x}", "j - i == 3" is true. Also add a test case for SPR-16663.
-
由 Stephane Nicoll 提交于
* pr/1759: Nested "enum"s should not be declared static
-
由 igor-suhorukov 提交于
Closes gh-1759
-
由 Rossen Stoyanchev 提交于
Issue: SPR-16648
-
由 igor-suhorukov 提交于
-
由 Rossen Stoyanchev 提交于
-
- 28 3月, 2018 7 次提交
-
-
由 Sam Brannen 提交于
This commit introduces tests for looking up annotations on parameters in constructors for nested and inner classes via Spring's MethodParameter abstraction. The test for an inner class is currently disabled since it fails on JDK 8. See JIRA issue for details. Issue: SPR-16652
-
由 Juergen Hoeller 提交于
Issue: SPR-16604
-
由 Juergen Hoeller 提交于
-
由 Stephane Nicoll 提交于
Issue: SPR-16563
-
由 Rossen Stoyanchev 提交于
Issue: SPR-16613
-
由 Rossen Stoyanchev 提交于
Issue: SPR-16630
-
由 igor-suhorukov 提交于
-