Juergen Hoeller
50177b1ad3
Refine CachedIntrospectionResults property introspection
...
Closes gh-28445
4 years ago
Sam Brannen
833e750175
Improve documentation and matching algorithm in data binders
4 years ago
Juergen Hoeller
69c7eb9418
Restore ability to configure setClassLoader methods
...
Closes gh-28269
(cherry picked from commit 9f91168396 )
4 years ago
Brian Clozel
996f701a19
Refine PropertyDescriptor filtering
...
Restrict property paths under `Class` and properties of types
`ClassLoader` or `ProtectionDomain`.
4 years ago
Juergen Hoeller
a439a83f34
Polishing
4 years ago
Juergen Hoeller
5b6a32d1b9
Polishing
4 years ago
Juergen Hoeller
790d56dd18
Backported tests for bean-derived (Auto)Closeable.close() method
...
See gh-27504
4 years ago
Juergen Hoeller
b01a3aeb6b
Fix invalid characters in source files
...
Closes gh-27475
4 years ago
Sam Brannen
1ad5b4fbd6
Support char primitive default values in BeanUtils.instantiateClass()
...
Closes gh-27390
4 years ago
Sam Brannen
4d1cdf6379
Introduce test for gh-27390
4 years ago
takeaction21
e1ba3e7dbb
Support float and double primitive default values in BeanUtils.instantiateClass()
...
See gh-27390
4 years ago
Juergen Hoeller
9ad3464c80
Reduce log statement for non-unique JavaBean property to debug level
...
Closes gh-27372
(cherry picked from commit 6c17e9375b )
4 years ago
Juergen Hoeller
e31d66cd2b
Polishing (backported from 5.3.x)
4 years ago
Juergen Hoeller
4b3e8619ec
Polishing
4 years ago
Juergen Hoeller
fe3357d6b9
Polishing (backported)
4 years ago
Juergen Hoeller
bc4af15e9e
BeanCreationException message includes declaring class of constructor/factory method
...
Closes gh-27139
(cherry picked from commit 74f91339e2 )
4 years ago
Juergen Hoeller
e4e2212817
Bypass root path resolution for "file:" prefix only
...
See gh-26702
5 years ago
Juergen Hoeller
0fc831e8bd
Polishing (backported from master)
5 years ago
Juergen Hoeller
dd3262bfe3
Polishing (backported from master)
5 years ago
Juergen Hoeller
fdafd38d2f
Fix handling of file: paths to non-existent files
...
For setAsText, if the text argument is a file: URL for a path that does not exist, Paths.get(text) is called where text is a file: URL, which doesn't work - the result is an InvalidPathException.
To fix this issue, also check that the resource isn't a file before calling Paths.get(). That way, resources that are files skip to the other branch.
Closes gh-26575
5 years ago
Sam Brannen
60e418959a
Polish contribution
...
See gh-26600
5 years ago
nullzl
4530e36867
Correctly set auto-growing array's element
...
Prior to this commit, the implementation of processKeyedProperty() in
AbstractNestablePropertyAccessor resulted in a
`java.lang.IllegalArgumentException: array element type mismatch` when
the property expression had more than one property key and the last key
should cause the array to grow automatically.
For example, given a property `int[][] multiArray` and property
expression `multiArray[1][3]`, the `processKeyedProperty()` method
created a new array object and assigned it to `multiArray`; whereas,
the new array object should have be assigned to `multiArray[1]`.
This commit fixes this issue.
Closes gh-26600
5 years ago
Juergen Hoeller
9f1e822f3e
Polishing
5 years ago
Juergen Hoeller
81be4c22d0
Re-resolve cached arguments in case of NoSuchBeanDefinitionException
...
Closes gh-26517
(cherry picked from commit 99a1388bbd )
5 years ago
Juergen Hoeller
a17c2ccb4e
Preserve resolved destroy method name in RootBeanDefinition
...
Closes gh-26498
(cherry picked from commit 809813dd52 )
5 years ago
Juergen Hoeller
64df93168d
Consider non-initialized holders as equal to empty holders
...
Closes gh-26433
(cherry picked from commit d5e5dcb7e1 )
5 years ago
Juergen Hoeller
27c5480c82
Fail early FactoryBean instantiation for LinkageError
...
Closes gh-26425
(cherry picked from commit defc2466b0 )
5 years ago
Juergen Hoeller
cfdceae70f
Defensively handle loadClass null result in BeanUtils.findEditorByConvention
...
Closes gh-26252
(cherry picked from commit 2a47751fcd )
5 years ago
Juergen Hoeller
7c33c70742
Polishing
5 years ago
Juergen Hoeller
81c1b60f19
Register @Bean definitions as dependent on containing configuration class
...
Closes gh-26167
5 years ago
Sam Brannen
25cbc263f0
Assert same instance returned for cached merged BeanDefinition
5 years ago
Juergen Hoeller
9949a91048
Fix javadoc and assertion glitches
5 years ago
Juergen Hoeller
7881329cf7
Polishing
5 years ago
Juergen Hoeller
58aa0659cc
Suppress NotWritablePropertyException in case of ignoreUnknown=true
...
Closes gh-25986
5 years ago
Juergen Hoeller
10bff054a9
Reliably refresh metadata for dynamically changing prototype bean class
...
Closes gh-26019
(cherry picked from commit 412aa06d86 )
5 years ago
Sam Brannen
449377908f
Fix JUnit 4 to AssertJ migration bugs
...
The migration from JUnit 4 assertions to AssertJ assertions resulted in
several unnecessary casts from int to long that actually cause
assertions to pass when they should otherwise fail.
This commit fixes all such bugs for the pattern `.isNotEqualTo((long)`.
5 years ago
Juergen Hoeller
d77ecb26a9
Fail on warnings with compileGroovy (since it compiles Java code as well)
5 years ago
Juergen Hoeller
21cb9e8bff
Translate NullBean result to null for lookup method with bean name
...
Closes gh-25806
5 years ago
Juergen Hoeller
f010368a66
Polishing
5 years ago
Juergen Hoeller
d62202f464
Polishing
5 years ago
Juergen Hoeller
d8c420ab75
Avoid full singleton lock for getSingleton(beanName, false)
...
Closes gh-25667
5 years ago
Juergen Hoeller
bb9e79daa7
Polishing
5 years ago
Juergen Hoeller
71e70aed14
Polishing
5 years ago
Juergen Hoeller
a8b295c516
Consistent javadoc for ParseState and its entry classes
5 years ago
Juergen Hoeller
cf2e0c7959
Selected use of ArrayList instead of LinkedList in common places
...
See gh-25652
5 years ago
Juergen Hoeller
589060d10f
Avoid LinkedList performance issues through use of ArrayDeque
...
Closes gh-25652
5 years ago
Juergen Hoeller
04df9b8f49
Efficient checks for empty strings and single character matches
...
Closes gh-25552
Closes gh-25553
5 years ago
Juergen Hoeller
7d56c303a4
Use getType with allowFactoryBeanInit=false during advisor retrieval
...
Closes gh-25546
5 years ago
Juergen Hoeller
692c5f292d
Polishing
5 years ago
Juergen Hoeller
8dd285f877
Polishing
5 years ago