Juergen Hoeller
af5f4e6fb4
AbstractEnvironment defensively synchronizes access to activeProfiles and defaultProfiles
...
Issue: SPR-13213
(cherry picked from commit e393c7b)
10 years ago
Juergen Hoeller
2dcf52797c
Consistent and defensive Servlet 3.0 method calls across Spring's web abstraction
...
(in particular, also working in debug mode where method references may get resolved early, so ternary expressions are to be avoided)
11 years ago
Juergen Hoeller
de0f3aec53
Undo AsyncRestTemplate's catching of Throwable in 4.1.x
...
Issue: SPR-13413
Issue: SPR-12887
11 years ago
Juergen Hoeller
fd2252a14e
Latest applicable dependency updates (Netty 4.0.31, Rome 1.5.1)
11 years ago
Juergen Hoeller
3402c13803
Undo FutureAdapter's catching of Throwable in 4.1.x
...
Issue: SPR-13413
Issue: SPR-12887
11 years ago
Juergen Hoeller
cc741cdc51
Polishing
11 years ago
Juergen Hoeller
8daa932e69
ASM fix #317578
...
http://forge.ow2.org/tracker/?func=detail&aid=317578&group_id=23&atid=100023
(cherry picked from commit 0c2b787)
11 years ago
Juergen Hoeller
f562eb5ff6
Avoid ConcurrentModificationException in SingleConnectionFactory's AggregatedExceptionListener
...
Issue: SPR-13421
(cherry picked from commit 1ed1167)
11 years ago
Juergen Hoeller
856561fa6e
AsyncRestTemplate and FutureAdapter consistently throw ExecutionException
...
Issue: SPR-13413
(cherry picked from commit 2bb7164)
11 years ago
Juergen Hoeller
c4a9abb6be
Removed misleading note on readonly and disabled flags in spring-form.tld
...
Issue: SPR-13397
(cherry picked from commit eaba794)
11 years ago
Juergen Hoeller
a6d17a6bd7
Polishing
11 years ago
Juergen Hoeller
7aa3175a71
Completed backport of lazy CacheManager resolution (including fixed test)
...
Issue: SPR-12850
11 years ago
Juergen Hoeller
49161da403
Latest applicable dependency updates (Hibernate 4.3.11, Jetty 9.2.13, Tomcat 8.0.26)
11 years ago
Juergen Hoeller
a35f71964a
Polishing
11 years ago
Juergen Hoeller
75187e3a8e
Consistent detection of meta-annotation attributes via ASM
...
Issue: SPR-13394
(cherry picked from commit 3430f76)
11 years ago
Juergen Hoeller
4ff23f4708
StubWebApplicationContext supports AutowireCapableBeanFactory operations (as far as possible)
...
This is generally worthwhile but in particular fixes a regression with our Jackson SpringHandlerInstantiator in standalone MVC tests.
Issue: SPR-13375
(cherry picked from commit 7d30017)
11 years ago
Juergen Hoeller
42d5780cd3
Avoid ambiguous property warning for methods with multiple parameters
...
Issue: SPR-13349
(cherry picked from commit 05a16a1)
11 years ago
Rossen Stoyanchev
33f9eadd6a
Ensure concurrent WebSocketSession wrapper is used
...
Issue: SPR-13326
11 years ago
Juergen Hoeller
7575271075
Polishing
11 years ago
Juergen Hoeller
ce50fc59ee
Latest web engine updates (Jetty 9.2.12, Netty 4.0.30, Tomcat 8.0.24, Undertow 1.1.8)
11 years ago
Juergen Hoeller
b77cc7ae4a
Prefer use of "Java EE" over "J2EE"
...
(cherry picked from commit 14f27bd)
11 years ago
Juergen Hoeller
4012b4df5e
Clarify acknowledge mode semantics and transaction recommendations
...
Issue: SPR-13278
(cherry picked from commit e5a2b348298ee9fd890bd61cbcf9a70d8bf4a278)
11 years ago
Juergen Hoeller
ac4c278d3a
PropertyOrFieldReference defensively catches Exception instead of just AccessException
...
Issue: SPR-13247
(cherry picked from commit 34a81b6)
11 years ago
Juergen Hoeller
35b257514d
Allow for overriding of computeTransactionAttribute
...
Issue: SPR-13246
(cherry picked from commit a8fb551)
11 years ago
Brian Clozel
3a4085a286
Fix tests
...
Issue: SPR-13241
11 years ago
Brian Clozel
daf94ea576
PathResourceResolver should not resolve root path
...
When resolving resources, the PathResourceResolver creates a Resource
instance and checks whether this resource `exists()` and `isReadable()`.
While that last call returns false for folders on the file system, both
calls return true for folders located inside JARs.
If a JAR location is configured as a resource location, then
PathResourceResolver can resolve folders in JARs as valid locations and
candidates for paths resolution.
Prior to this change, the PathResourceResolver would resolve "" as a
valid resource path (here, the "/META-INF/resources/webjars" if
configured, for example) and return a "" path for this resource,
effectively turning all "/" URLs into empty ones "".
This commit fixes the resolveUrlPathInternal implementation by not
allowing empty paths as valid resource paths.
Issue: SPR-13241
11 years ago
Juergen Hoeller
65a5ce3fa4
Polishing
11 years ago
Juergen Hoeller
4fbf6a3572
DefaultSubscriptionRegistry defensively checks for removal between keySet and get calls
...
Issue: SPR-13205
11 years ago
Juergen Hoeller
7c72a57a4d
Polishing
11 years ago
Juergen Hoeller
ca9beeac9d
DefaultSubscriptionRegistry uses deep LinkedMultiValueMap copies between accessCache and updateCache
...
Also backported CopyOnWriteArraySet use from 4.2, for defensive iteration over registered subscriptions.
Issue: SPR-13185
11 years ago
Rossen Stoyanchev
3eb54cc0b3
Avoid duplicates from <websocket:decorator-factory>
...
Before this change <websocket:decorator-factory> decorated to
the SubProtocolWebSocketHandler RootBeanDefinition rather than
using a RuntimeBeanReference, which led to a separate instance
of SubProtocolWebSocketHandler to be created.
Issue: SPR-13190
11 years ago
Brian Clozel
2c32873309
Fix error message typo in ShallowEtagHeaderFilter
...
Issue: SPR-13194
11 years ago
Sam Brannen
40fc260d45
Updated required email dependencies in reference manual
...
Beginning with Java 6, the JavaBeans Activation Framework (JAF) is part
of the JDK. Thus, there is no longer a need to explicitly include a
dependency on `activation.jar` when using Spring's email support in
Spring Framework 4.0 and higher which anyway requires Java 6 or higher.
This commit therefore removes the JAF requirement from the reference
manual.
11 years ago
Rossen Stoyanchev
c4e0f14ec4
Polish tests
11 years ago
Juergen Hoeller
38b8262e1e
XML parsing tests pass on non-English locales now, plus a revised exception message and some minor polishing
...
Issue: SPR-13136
11 years ago
Rossen Stoyanchev
9c3580d04e
Disable DTD when parsing untrusted XML input
...
Issue: SPR-13136
11 years ago
Juergen Hoeller
a837cbe81f
Latest applicable dependency updates (Netty 4.0.29, Undertow 1.1.7)
11 years ago
Juergen Hoeller
f1b42b7d8f
ContentCachingResponseWrapper defensively applies content length in case of sendError/sendRedirect
...
Issue: SPR-13004
(cherry picked from commit 4facb2f)
11 years ago
Juergen Hoeller
3d131c9f3c
YamlProcessor explicitly closes UnicodeReader
...
Issue: SPR-13173
(cherry picked from commit 26acb48)
11 years ago
Sam Brannen
a8ac6db43b
Polish resource chain documentation
11 years ago
Brian Clozel
bf94344139
document XML attributes in mvc:resource-chain
...
Issue: SPR-12804
11 years ago
Brian Clozel
b3f01998d2
Fix NPE in GzipResourceResolver
...
This change fixes a NullPointerException in GzipResourceResolver, which
assumed that calls to the `resolveResource` method were made with only
non-null values for request.
This is not the case for the VersionResourceResolver, which tries to
resolve resources that aren't requested per se by the HTTP request.
Issue: SPR-13149
11 years ago
Martin Lippert
8dd182f76c
Fix exception in AntPathMatcher for leading *
...
Issue: SPR-13139
11 years ago
Juergen Hoeller
b731f7ad15
ObjenesisCglibAopProxy catches NoClassDefFoundError as well
...
Issue: SPR-13131
11 years ago
Juergen Hoeller
9dea9d57db
Polishing
11 years ago
Juergen Hoeller
c85127d3f8
TransactionAttributeSourcePointcut pointcut skips target classes with TransactionalProxy marker (e.g. Spring Data proxies)
...
Issue: SPR-13109
11 years ago
Juergen Hoeller
846fae241b
Fixed fallback mode in ObjenesisCglibAopProxy
...
Issue: SPR-13131
11 years ago
Juergen Hoeller
d08c0669da
Polishing
11 years ago
Juergen Hoeller
13a2ae27e1
Latest dependency updates (H2 1.4.187, Joda-Time 2.8.1)
11 years ago
Juergen Hoeller
ef9910c3c4
ConfigurationClassParser ignores unresolvable member classes
...
Issue: SPR-13115
(cherry picked from commit 1c01f57)
11 years ago