Juergen Hoeller
67e76e9a8d
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
12 years ago
Juergen Hoeller
5331da6aff
Polishing
12 years ago
Juergen Hoeller
167329ce0c
Added test for SpringProperties setFlag method
...
Issue: SPR-9014
Issue: SPR-11297
(cherry picked from commit 23249cd )
12 years ago
Juergen Hoeller
b6073d9ac4
Polishing
12 years ago
Juergen Hoeller
8543b91c50
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
12 years ago
Juergen Hoeller
eeae5fba95
Fixed regression with constructing TypeDescriptor from null Class
...
Issue: SPR-11354
12 years ago
Juergen Hoeller
42db41e007
Polishing
12 years ago
Juergen Hoeller
9c3a972dac
Polishing
...
Issue: SPR-11297
(cherry picked from commit fc36184 )
12 years ago
Juergen Hoeller
6793765b0a
Factored out "suppressGetenvAccess()" method
...
Issue: SPR-11297
(cherry picked from commit 52d050d )
12 years ago
Phillip Webb
59604b1cd5
Unwrap TypeVariables before calling .equals()
...
Update ResolvableType to unwrap Serialization wrapped TypeVariables
before calling the equals method.
This protects against the recent change in OpenJDK 8 (build 124)
which changed the TypeVariableImpl equals method such that it only
matches against other TypeVariableImpl instances.
Issue: SPR-11342
12 years ago
Phillip Webb
d96b91a57b
Fix SerializableTypeWrapper equals() performance
...
Change SerializableTypeWrapper proxies to directly call equals() methods
on the underlying Type, rather than possibly generating more wrappers.
This should help to improve performance, especially as the equals()
method is called many times when the ResolvableType cache is checked.
Issue: SPR-11335
12 years ago
Juergen Hoeller
709ac28f29
Consider wildcard type without bounds as eligible for fallback match too
...
Issue: SPR-11250
12 years ago
Juergen Hoeller
1aff833282
Polishing
12 years ago
Phillip Webb
9076c70d47
Provide 'with implementationType' overloads
...
Provided overloaded versions of `forField` and `forMethodParameter` that
accept a `ResolvableType` implementation type (as opposed to a Class).
Primarily added to allow resolution against implementation types that
have been created programmatically using `forTypeWithGenerics`.
Issue: SPR-11218
12 years ago
Phillip Webb
7e6dbc24f6
Make TypeDescriptor more amenable to subclassing
...
Change the previously package scope TypeDescriptor constructor to
protected and add a getResolvableType() protected method.
Issue: SPR-11303
12 years ago
Juergen Hoeller
4f45ad549e
Introduced customizeConnection callbacks for URLConnection used by exists() / contentLength() / lastModified()
...
Issue: SPR-11320
12 years ago
Juergen Hoeller
11bc9d0aeb
Mentioned "-parameters" compiler flag in javadoc
12 years ago
Juergen Hoeller
a5f9b29292
Polishing
12 years ago
Juergen Hoeller
e670f4e5c6
Polishing
12 years ago
Juergen Hoeller
961f42bd43
Introduced "spring.getenv.ignore" system property for preventing System.getenv calls
...
Issue: SPR-11297
12 years ago
Juergen Hoeller
ab15ed2a05
ObjectUtils.isCompatibleWithThrowsClause supports varargs now
12 years ago
Juergen Hoeller
76bb966b1a
Removed Commons Lang references
12 years ago
Juergen Hoeller
abff789b0f
Removed javadoc references to non-accessible subclasses
12 years ago
Juergen Hoeller
cdd65a70af
Added compatibility note on WildFly 8
12 years ago
Juergen Hoeller
ee2022e54c
Polishing
12 years ago
Juergen Hoeller
640d8cb67f
Consistent implementation of AsyncListenableTaskExecutor
...
Issue: SPR-11282
12 years ago
Juergen Hoeller
ff26dfdd28
Added cache for path pattern tokenization
...
Issue: SPR-11258
12 years ago
Juergen Hoeller
6aabb5f17e
Support varargs for DomUtils.getChildElementsByTagName
...
Issue: SPR-11272
(cherry picked from commit e334489 )
12 years ago
Rossen Stoyanchev
1f49f994e6
Fix issue with use of SecureRandom for id generation
...
Switch to using nextBytes as generateSeed doesn't seem to be always
supported by all hardware providers.
Issue: SPR-11278
12 years ago
Juergen Hoeller
f0d21510f5
Polishing
...
Issue: SPR-11259
12 years ago
Juergen Hoeller
48909886a2
Added support for the Java 8 style 'from'/'to' method conventions
...
Also introduced a default ZonedDateTime-Calendar converter which is not covered by the default convention due to the 'from' method only being defined on GregorianCalendar.
Issue: SPR-11259
12 years ago
Juergen Hoeller
7f5d6ea3f9
Fixed NavigableSet/NavigableMap detection in createCollection/createMap
...
Issue: SPR-11257
12 years ago
Juergen Hoeller
9a39f39b6f
Polishing
...
Issue: SPR-11254
12 years ago
Juergen Hoeller
ee5b7fdab8
Revised XMLEventStreamWriter to allow for empty elements with attributes
...
Issue: SPR-11254
12 years ago
Juergen Hoeller
f9e8eb59e1
Fixed hasUnresolvableGenerics() to return false in case of an unresolvable bounded variable as well
...
Issue: SPR-11250
12 years ago
Juergen Hoeller
2faf008c2e
Polishing
...
Issue: SPR-11225
12 years ago
Juergen Hoeller
11fb12b920
Fixed AbstractMessageConverterMethodArgumentResolver's type variable resolution
...
Issue: SPR-11225
12 years ago
Juergen Hoeller
aa2fadd8da
Revised ResolvableType's handling of (self-referential) type variables
...
Also resolving at construction time now, and shortcutting assignability evaluation.
Issue: SPR-11219
12 years ago
Juergen Hoeller
234272eb8f
Polishing
...
Issue: SPR-11215
12 years ago
Juergen Hoeller
63d300ac86
Polishing
...
Issue: SPR-11242
12 years ago
Juergen Hoeller
1d47fc6e2d
Consistent non-declaration of serialVersionUID
...
Issue: SPR-11242
12 years ago
Juergen Hoeller
994efe45fd
Prevented potential infinite recursion in hashCode/equals
...
Issue: SPR-11219
12 years ago
Juergen Hoeller
078d2fe0e2
Added current version information to SpringAsmInfo's javadoc
12 years ago
Juergen Hoeller
105e176a80
Fixed @Bean meta-annotation detection when using ASM
...
This turned out to be a bug in the ASM-based AnnotationMetadata implementation where has/getAnnotatedMethods didn't consider meta-annotations., in contrast to its StandardAnnotationMetadata sibling.
Issue: SPR-10488
12 years ago
Juergen Hoeller
ca194261a4
Removed support for JBoss AS 5's VFS variant (since we require JBoss AS 6+ now)
12 years ago
Juergen Hoeller
161819f141
Component scanning ignores attributes and meta-annotations on non-public annotations
...
Issue: SPR-11091
12 years ago
Juergen Hoeller
4fe52d1953
Polishing
12 years ago
Juergen Hoeller
5dcd28761c
Fixed type resolution for uninitialized factory-method declaration
...
Issue: SPR-11112
12 years ago
Juergen Hoeller
6078c27e60
Fixed evaluation of "!" operator in case of multiple profile expressions
...
Issue: SPR-11093
12 years ago
Phillip Webb
fd1b48139f
Polish
12 years ago