Commit Graph

1025 Commits

Author SHA1 Message Date
Juergen Hoeller
a94c12ff9a Polishing 2019-03-07 18:43:02 +01:00
Juergen Hoeller
130f41028f Polishing 2019-02-27 18:12:05 +01:00
Juergen Hoeller
82f1340c47 Polishing 2019-02-25 19:20:28 +01:00
Juergen Hoeller
3ec8080f36 Polishing 2019-02-15 17:59:38 +01:00
Juergen Hoeller
109eaf3a16 DefaultConversionService properly converts Object[] to int[]
Closes gh-22410
2019-02-14 15:10:18 +01:00
Juergen Hoeller
7be0aa0de5 Polishing 2019-01-08 20:58:10 +01:00
Juergen Hoeller
e714fc533a DefaultListableBeanFactory checks for pre-converted Optional wrappers
Issue: SPR-17607
2019-01-08 20:55:55 +01:00
Juergen Hoeller
21baa7287b Consistent support for EnumSet subclasses in CollectionFactory
Issue: SPR-17619

(cherry picked from commit 31a24720a6)
2019-01-08 20:55:10 +01:00
Juergen Hoeller
7ff1b0e01d Clarified VfsResource constructor
Issue: SPR-17563

(cherry picked from commit 50e5bdb813)
2018-12-04 22:35:04 +01:00
Juergen Hoeller
85b5c5a134 Polishing 2018-11-22 20:20:36 +01:00
Juergen Hoeller
ed9afa3686 FastByteArrayOutputStream.read byte-to-int conversion
Issue: SPR-17492
2018-11-22 20:20:26 +01:00
Juergen Hoeller
8d668acbb4 Up-to-date version and link in ASM/CGLIB/Objenesis package javadoc
Issue: SPR-16405
Issue: SPR-15600
2018-11-08 17:12:05 +01:00
Juergen Hoeller
79e7ba71bb Polishing 2018-11-05 23:51:54 +01:00
Juergen Hoeller
47ca7b39a2 Polishing 2018-10-24 22:10:05 +02:00
Juergen Hoeller
46bc145196 SpringFactoriesLoader tolerates whitespace around class names
Issue: SPR-17413

(cherry picked from commit dd2ce20687)
2018-10-24 22:06:35 +02:00
Juergen Hoeller
3a4fd2c832 Avoid stacktrace if root resource is not resolvable in file system
Issue: SPR-17417

(cherry picked from commit 83a54dba7e)
2018-10-24 22:06:26 +02:00
Juergen Hoeller
6c9c8efc38 Polishing 2018-10-10 00:32:07 +02:00
Juergen Hoeller
b53995b5d4 Resource.lastModified() propagates 0 value if target resource exists
Issue: SPR-17320
2018-10-10 00:31:49 +02:00
Juergen Hoeller
4a51f6feef Polishing 2018-09-14 14:37:06 +02:00
Juergen Hoeller
d38eb9d6a0 SimpleAliasRegistry.hasAlias properly resolves multiple chained aliases
Issue: SPR-17191

(cherry picked from commit 2ac23badee)
2018-08-17 10:04:48 +02:00
Juergen Hoeller
484a2f3f2d Polishing 2018-08-13 14:23:41 +02:00
Juergen Hoeller
5a66a339a6 Polishing (typo fixes etc, aligned with 5.0.x) 2018-08-09 13:04:57 +02:00
Juergen Hoeller
e94c69149e AbstractAspectJAdvisorFactory uses AnnotationUtils.getValue 2018-08-09 01:52:16 +02:00
Juergen Hoeller
89cadfa8d9 Polishing 2018-08-07 02:38:54 +02:00
Juergen Hoeller
92c210201e Polishing 2018-08-01 12:32:09 +02:00
Juergen Hoeller
ae6d778c3e Polishing 2018-07-31 22:25:44 +02:00
Juergen Hoeller
484addb4f8 Polishing 2018-07-20 17:04:17 +02:00
Juergen Hoeller
22fc3255b7 Polishing 2018-07-19 13:47:03 +02:00
Juergen Hoeller
4298744c4a Polishing 2018-07-03 17:06:35 +02:00
Juergen Hoeller
44b2657c8e ConcurrentReferenceHashMap caches EntrySet in volatile field
Includes an efficient implementation of isEmpty(), not relying on a full entry count but rather backing out once a non-empty hash segment has been found.

Issue: SPR-16994
2018-07-03 17:05:38 +02:00
Juergen Hoeller
fa8acfafbf Polishing 2018-06-29 21:21:19 +02:00
Juergen Hoeller
8d67a982ec Correctly delegate to OrderUtils.getPriority for DecoratingProxy
Issue: SPR-16739
2018-04-17 23:45:24 +02:00
Juergen Hoeller
c09e10405b Workaround for generic parameter types on inner class constructors
Issue: SPR-16734
2018-04-17 15:59:08 +02:00
Juergen Hoeller
2989f01013 Cache-safety check for sibling loaders resolving the same classes
Issue: SPR-16714
2018-04-12 21:38:57 +02:00
Juergen Hoeller
1ca06537c1 Polishing 2018-04-03 13:20:09 +02:00
Juergen Hoeller
b0ed385f84 Polishing 2018-03-31 17:06:33 +02:00
Juergen Hoeller
5d54adfb9a Selective backport of annotation retrieval refinements (from 5.0.5)
In particular AnnotationTypeFilter's ignoring of standard Java interfaces, AnnotationUtils.clearCache() and a few extra common classes in ClassUtils.

Issue: SPR-16667
Issue: SPR-16675
2018-03-31 17:03:59 +02:00
Juergen Hoeller
bcda243f63 Polishing 2018-03-29 17:34:28 +02:00
Juergen Hoeller
64f304c333 Consistent references to primitive types (in alphabetical order)
(cherry picked from commit 08dad4e)
2018-03-29 17:33:13 +02:00
Juergen Hoeller
5f6b04251e Workaround for inner class constructor parameter annotation bug in javac
Issue: SPR-16652

(cherry picked from commit 53d0139)
2018-03-29 17:30:07 +02:00
Juergen Hoeller
618cb6155c Correct description for doWithLocalFields
Issue: SPR-16658

(cherry picked from commit 3ac46da)
2018-03-29 17:29:58 +02:00
Rossen Stoyanchev
71126faae0 MimeTypeUtils trims parameter names / values
Issue: SPR-16630
2018-03-27 20:04:53 -04:00
Juergen Hoeller
9cc03fa8b0 Polishing 2018-03-28 02:03:31 +02:00
Juergen Hoeller
7cafa6764c Validate declared annotations before deciding between reflection and ASM
Issue: SPR-16564
2018-03-28 01:20:59 +02:00
Juergen Hoeller
8d8bb04783 ConcurrentReferenceHashMap properly handles getOrDefault for null values
Issue: SPR-16584

(cherry picked from commit 356ef45)
2018-03-28 01:17:09 +02:00
Juergen Hoeller
3dff1b3f6e SimpleAliasRegistry fully synchronizes registerAlias and removeAlias
Issue: SPR-16577

(cherry picked from commit 1b1a69a)
2018-03-28 01:16:35 +02:00
Rossen Stoyanchev
e02ff3a0da MimeTypeUtils uses SecureRandom
The prevailing current wisdom is to use the default constructor for
secure and let it pick the best algorithm for the OS.

On Java 8 (Oracle), Linux this results in "NativePRNG" which uses
/dev/random (potentially blocking) for the initial seed, and
/dev/urandom (non-blocking) for subsequent calls to nextInt.

Issue: SPR-16635
2018-03-23 21:52:30 -04:00
Juergen Hoeller
bc043245cc Polishing 2018-03-03 17:18:44 +01:00
Juergen Hoeller
8e68ac44d2 Polishing 2018-03-01 01:12:30 +01:00
Juergen Hoeller
901d48c803 Support for ResolvableType.getType().getTypeName() on Java 8
Issue: SPR-16535

(cherry picked from commit 6663d0f)
2018-02-26 17:31:12 +01:00