Juergen Hoeller
bc07a54075
Clear AnnotationUtils cache after context refresh (along with others)
...
Issue: SPR-16675
7 years ago
Juergen Hoeller
8a9321652d
Refined javadoc
7 years ago
Rossen Stoyanchev
d9e17a62ce
Refine SyncInvocableHandlerMethod error handling
...
Ensure the error is wrapped as ServerErrorException
7 years ago
Juergen Hoeller
912c270f2b
Polishing
7 years ago
Rossen Stoyanchev
4454ffd2b1
Replace remaining use of block operator
7 years ago
Juergen Hoeller
129c05bcff
Comprehensively cache annotated methods for interfaces and superclasses
...
Issue: SPR-16675
7 years ago
Stephane Maldini
b8d32095a9
workaround multipart integration test using blocking receive inside netty thread
7 years ago
Juergen Hoeller
6393e5ce0c
Consistent Ordered.LOWEST_PRECEDENCE declarations for default order
7 years ago
Juergen Hoeller
4da27c2a73
Avoid unnecessary introspection on methods and meta-annotations
...
Issue: SPR-16667
7 years ago
Rossen Stoyanchev
b1048975d2
Minor updates based on PR#1058
...
The original repo no longer exists:
https://github.com/spring-projects/spring-framework/pull/1058
7 years ago
Kazuki MATSUDA
d232fffa63
Use whenComplete since (null) return value not needed
7 years ago
Bian Jiaping
8f525f07e9
Fix typos, formatting and escaping in reference
...
Note: Some symbol combinations (including <=) serve as textual symbol
replacements in AsciiDoc.
http://asciidoctor.org/docs/asciidoc-syntax-quick-reference/#text-replacement
7 years ago
Juergen Hoeller
22a8a668c9
AnnotationTypeFilter assumes no custom annotations on common Java types
...
Issue: SPR-16667
7 years ago
Juergen Hoeller
78681c6369
JndiRmiServiceExporter still calls PortableRemoteObject when available
...
Issue: SPR-16670
7 years ago
Juergen Hoeller
0bc01fcd55
Polishing
7 years ago
Juergen Hoeller
7a8d41e5d6
Extended set of common classes and language interfaces in ClassUtils
...
Issue: SPR-16667
7 years ago
Johnny Lim
8dd0974e2f
Rename SingleColumnRowMapperTest to align with the other tests
7 years ago
Sam Brannen
e5096be660
Polishing
7 years ago
Sam Brannen
f79562f8d1
Introduce tests for generics & @Nested test classes
7 years ago
Sam Brannen
a6c45f0cd9
Polishing
7 years ago
Rossen Stoyanchev
240d6f52c9
Replaces rather than prepend contextPath
...
Issue: SPR-16650
7 years ago
Juergen Hoeller
d553ddc5b3
Nullability refinements (based on IntelliJ IDEA 2018.1 introspection)
...
Issue: SPR-15756
7 years ago
Juergen Hoeller
1cc513d7db
Consistent to/cc/bcc array handling and revised hashCode without text
...
Issue: SPR-16671
7 years ago
Juergen Hoeller
9a722b4558
Pass type name into PreparedStatement.setNull in case of Types.OTHER
...
Issue: SPR-16669
7 years ago
igor-suhorukov
93abe0e94b
All branches in a conditional structure should not have exactly the same implementation
7 years ago
igor-suhorukov
ab96bb5428
Remove redundant check
7 years ago
igor-suhorukov
c1ff97e2a8
Short-circuit logic should be used in boolean contexts
7 years ago
Rossen Stoyanchev
dd96c873e3
Improve docs on forwarded headers
...
Issue: SPR-16660
7 years ago
Rossen Stoyanchev
a546cf0a3b
Reject invalid forwarded headers
...
Issue: SPR-16660
7 years ago
Thor Andreas Rognan
5fb4c8254f
Fix inclusion of license in jar
7 years ago
Rossen Stoyanchev
30b63a71bd
Switch to Bismuth snapshots
7 years ago
Sam Brannen
9244090ba0
Support DI of individual constructor args in @Nested tests
...
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
7 years ago
Sam Brannen
17703e5dde
Polishing
7 years ago
Sam Brannen
7c28152c13
Introduce ClassUtils.isInnerClass() utility method
7 years ago
Juergen Hoeller
b165475eb6
Polishing
7 years ago
Juergen Hoeller
08dad4e3ac
Consistent references to primitive types (in alphabetical order)
7 years ago
Juergen Hoeller
695bf2961f
Consistent trace logging in PathResourceResolver
...
Issue: SPR-16616
7 years ago
Juergen Hoeller
53d01392d7
Workaround for inner class constructor parameter annotation bug in javac
...
Issue: SPR-16652
7 years ago
Juergen Hoeller
3ac46da22f
Correct description for doWithLocalFields
...
Issue: SPR-16658
7 years ago
nkjackzhang
82cb5dbf2b
NamedParameterUtils.parseSqlStatement should parse :{x} style parameter correctly
...
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.
7 years ago
Stephane Nicoll
f4813f5b4c
Merge pull request #1759 from igor-suhorukov
...
* pr/1759:
Nested "enum"s should not be declared static
7 years ago
igor-suhorukov
8d2f64fe2d
Nested "enum"s should not be declared static
...
Closes gh-1759
7 years ago
Rossen Stoyanchev
f9e6ea5482
MvcResult returns asyncResult after asyncDispatch
...
Issue: SPR-16648
7 years ago
igor-suhorukov
e6020ed377
avoid unnecessary autoboxing
7 years ago
Rossen Stoyanchev
b8d72516e1
Update link to WebSocket spec issue
7 years ago
Sam Brannen
4b9e3a9211
Introduce failing test for SPR-16652
...
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
7 years ago
Juergen Hoeller
d95bbb6b1b
Test for hasError keeping body available in case of unknown status code
...
Issue: SPR-16604
7 years ago
Juergen Hoeller
b2d87abcbb
Polishing
7 years ago
Stephane Nicoll
d1a0b8d53f
Clarify the format supported by @PropertySource
...
Issue: SPR-16563
7 years ago
Rossen Stoyanchev
5861e9685b
Always specify charset for form data requests
...
Issue: SPR-16613
7 years ago