Juergen Hoeller
c033f889bf
Polishing (backported from master)
...
(cherry picked from commit 48f753f )
2014-07-01 14:28:05 +02:00
Juergen Hoeller
44c61e5d5f
Consistent declaration of private static final logger variables
...
Issue: SPR-11905
(cherry picked from commit c16032b )
2014-07-01 14:22:56 +02:00
Juergen Hoeller
0298a1f093
Cache Class.getDeclaredMethods() results and avoid pattern matching in isCglibRenamedMethod as far as possible
...
Issue: SPR-11882
Issue: SPR-11894
(cherry picked from commit 5f695a4 )
2014-07-01 14:21:37 +02:00
Juergen Hoeller
1ca0351831
PathMatchingResourcePatternResolver's findPathMatchingResources needs to check for VFS before checking isJarResource
...
ResourceUtils isFileURL also detects "vfsfile" as a file system protocol (again).
Issue: SPR-11887
(cherry picked from commit 8ddbbc2 )
2014-07-01 14:19:20 +02:00
Juergen Hoeller
f524a5abe4
StringUtils.parseLocaleString parses variant correctly when variant contains country code
...
This commit also includes a JUnit 4 style revision of StringUtilsTests and ObjectUtilsTests.
Issue: SPR-11806
(cherry picked from commit 295a6ae )
2014-05-19 23:05:47 +02:00
Rossen Stoyanchev
f6fddeb6eb
Improve StringUtils.cleanPath
...
Issue: SPR-11793
2014-05-16 11:28:53 -04:00
Juergen Hoeller
b0f7184f3f
Polishing
2014-05-15 15:19:17 +02:00
Juergen Hoeller
bc43f2e72a
IdToEntityConverter defensively handles access to getDeclaredMethods
...
Issue: SPR-11758
(cherry picked from commit 381ccde )
2014-05-09 23:17:01 +02:00
Juergen Hoeller
a5606a6c46
Polishing
2014-04-29 23:39:17 +02:00
Juergen Hoeller
779a6b79eb
Polishing
2014-04-27 22:52:51 +02:00
Juergen Hoeller
9e2060707a
General defensiveness about the bootstrap ClassLoader (i.e. null ClassLoader)
...
Issue: SPR-11721
2014-04-27 22:29:08 +02:00
Juergen Hoeller
2c1203dc9f
AnnotationTypeFilter prevents ASM-based loading of java.* and javax.* interfaces as well
...
Issue: SPR-11719
2014-04-27 22:28:56 +02:00
Juergen Hoeller
6ee0596c3a
SpringProperties falls back to ClassLoader.getSystemResource when loaded in bootstrap ClassLoader
...
Issue: SPR-11721
(cherry picked from commit 9cb5f48 )
2014-04-27 22:28:08 +02:00
Juergen Hoeller
dc934064a2
@Bean processing explicitly ignores bridge methods (for method overrides with return type narrowing on JDK 8)
...
Issue: SPR-11718
2014-04-25 23:37:37 +02:00
HejiaHo
ac85eab372
Fix ConcurrentReferenceHashMap max constraints
...
Update calculateShift to respect the maximum upper bound as well as the
minimum value.
Issue: SPR-11720
(cherry picked from commit 16410cad )
2014-04-22 15:01:51 +01:00
Juergen Hoeller
ffaac0ecf3
Polishing
2014-04-18 13:23:05 +02:00
Juergen Hoeller
94caaedf84
Polishing
2014-04-09 20:31:15 +02:00
Juergen Hoeller
be6b54fe8b
JBoss "vfszip" resources need to be treated as jar URLs
...
Issue: SPR-11676
2014-04-09 20:30:50 +02:00
Juergen Hoeller
a4a2e80f23
Consider a null ClassLoader (typically the bootstrap CL) as cache-safe
...
Issue: SPR-11606
2014-03-26 23:48:29 +01:00
Juergen Hoeller
5c9fc09852
Added Spring Data oriented conversion test case
...
Issue: SPR-11608
2014-03-26 20:50:00 +01:00
Juergen Hoeller
dbd5f67498
Consistently applied appropriate ByteArrayOutputStream initial capacities across the codebase
...
Issue: SPR-11594
(cherry picked from commit dd7f54c )
2014-03-25 00:35:33 +01:00
Juergen Hoeller
d317b637e0
CollectionToCollectionConverter avoids collection copy for untyped collection when simply returning source anyway
...
Also uses addAll instead of iteration over untyped collection now, supporting optimized addAll in target collection type, and avoids repeated getElementTypeDescriptor calls.
Issue: SPR-11479
(cherry picked from commit bea94d5 )
2014-03-10 18:48:01 +01:00
Juergen Hoeller
69c54a053c
Fixed content length check in XmlValidationModeDetector
...
Issue: SPR-11477
(cherry picked from commit 1763bfb )
2014-03-07 14:55:11 +01:00
Phillip Webb
09c57203bb
Fix memory leak in ConcurrentReferenceHashMap
...
Update ConcurrentReferenceHashMap to protect against references that
have been garbage collected but for some reason do not appear as a
`pollForPurge` result.
Also added purgeUnreferencedEntries() method to allow for programmatic
cleanup.
Issue: SPR-11440
(cherry picked from commit 2b4c81e6 )
2014-02-18 15:18:26 -08:00
Juergen Hoeller
7e3c722146
Objects with multi-threaded access should not lazily populate a hash field
...
Issue. SPR-11428
(cherry picked from commit 72fe7eb )
2014-02-14 22:53:13 +01:00
Juergen Hoeller
ad91610796
Polishing
...
(cherry picked from commit 426f52b )
2014-02-06 23:27:46 +01:00
Juergen Hoeller
f558396e91
Introduced SpringNamingPolicy for CGLIB
...
Issue: SPR-11398
(cherry picked from commit 8c4e372 )
2014-02-06 23:25:52 +01:00
Juergen Hoeller
60b24cffdb
Related polishing
...
Issue: SPR-11386
(cherry picked from commit 6634c19 )
2014-02-04 16:53:50 +01:00
Juergen Hoeller
036bd791f0
Introduced "spring.jdbc.getParameterType.ignore" property
...
Issue: SPR-11386
(cherry picked from commit 60c1905 )
2014-02-04 16:53:44 +01:00
Juergen Hoeller
a53df0b2c1
Added explicit tests for generic and raw collection converters
...
Issue: SPR-11369
2014-02-01 19:36:38 +01:00
Juergen Hoeller
1a011616d9
Polishing
...
Issue: SPR-11369
2014-02-01 12:12:19 +01:00
Juergen Hoeller
1a2033eb41
Compatibility with JOpt 4.6
...
JOpt 4.6 redeclared its nonOptionArguments() method from List<String> to List<?>, requiring us to select String arguments only as we do for regular option values already.
Issue: SPR-11359
(cherry picked from commit 67e76e9 )
2014-01-26 00:37:03 +01:00
Juergen Hoeller
e07ad5a19b
Polishing
2014-01-25 00:15:00 +01:00
Juergen Hoeller
23249cda98
Added test for SpringProperties setFlag method
...
Issue: SPR-9014
Issue: SPR-11297
2014-01-24 17:48:40 +01:00
Juergen Hoeller
edb660863b
Polishing
2014-01-24 16:59:42 +01:00
Juergen Hoeller
866c7847e3
Introduced SpringProperties class and optional "spring.properties" file
...
This in particular allows for specifying "spring.getenv.ignore" and "spring.beaninfo.ignore" in a local way within the application, in case that JVM-level system properties are locked.
Issue: SPR-9014
Issue: SPR-11297
(cherry picked from commit 8543b91 )
2014-01-24 16:58:16 +01:00
Juergen Hoeller
fc361844ec
Polishing
...
Issue: SPR-11297
2014-01-22 23:57:48 +01:00
Juergen Hoeller
52d050d21a
Factored out "suppressGetenvAccess()" method
...
Issue: SPR-11297
2014-01-22 23:57:36 +01:00
Juergen Hoeller
11ef4308b8
Polishing
2014-01-21 01:55:09 +01:00
Juergen Hoeller
f532607d4b
Introduced customizeConnection callbacks for URLConnection used by exists() / contentLength() / lastModified()
...
Issue: SPR-11320
(cherry picked from commit 4f45ad5 )
2014-01-16 17:54:44 +01:00
Juergen Hoeller
fd13c994c9
Fixed accidental use of String.isEmpty in SimpleCommandLineArgsParser
...
Issue: SPR-11321
2014-01-16 17:35:49 +01:00
Juergen Hoeller
52c11eab41
Polishing
...
(cherry picked from commit e670f4e )
2014-01-15 17:54:37 +01:00
Juergen Hoeller
b6362c5016
Introduced "spring.getenv.ignore" system property for preventing System.getenv calls
...
Issue: SPR-11297
(cherry picked from commit 961f42b )
2014-01-15 17:52:36 +01:00
Juergen Hoeller
6deb597cdf
Removed Commons Lang references and refined Java 5+ implementation details
2014-01-15 15:56:03 +01:00
Juergen Hoeller
3429a4186c
Polishing
2014-01-15 15:16:01 +01:00
Juergen Hoeller
1a0a381559
Made findMethodAnnotationOnBridgeMethod compatible with Java 8
2014-01-05 02:30:04 +01:00
Juergen Hoeller
6045914057
Polishing
2014-01-03 23:02:51 +01:00
Juergen Hoeller
e3344898cd
Support varargs for DomUtils.getChildElementsByTagName
...
Issue: SPR-11272
2014-01-03 12:18:19 +01:00
Juergen Hoeller
2e123b01e5
Polishing
...
Issue: SPR-11259
(cherry picked from commit f0d2151 )
2014-01-01 19:24:37 +01:00
Juergen Hoeller
a05c957d0e
Polishing
...
Issue: SPR-11254
(cherry picked from commit 9a39f39 )
2013-12-23 23:05:10 +01:00