Andy Clement
b64d752906
Fix SpEL compilation of static method/property/field operations
...
Before this change the compilation of a method reference or property/field
access was not properly cleaning up the stack if compilation meant
calling a static method or accessing a static field. In these cases there
is no need for a target object on the stack and it should be removed if
present. For a simple expression it is harmless since the end result of
the expression is the thing on the top of the stack, but for nested
expressions if the inner expression suffered this issue, the outer
expression can find itself operating on the wrong element.
The particular issue covered the case of a static field access but this
fix (and associated tests) cover static method, property and field access.
Issue: SPR-13781
(cherry picked from commit a28fc76 )
10 years ago
Juergen Hoeller
1d0c2f6f0e
Polishing
...
(cherry picked from commit ca9a078 )
10 years ago
Juergen Hoeller
4b27a6ddee
SimpAnnotationMethodMessageHandler ignores empty marker annotations
...
Issue: SPR-13704
(cherry picked from commit f119962 )
10 years ago
Juergen Hoeller
3403e8d843
Jdbc4SqlXmlHandler returns null as documented (instead of throwing NPE)
...
Issue: SPR-13782
(cherry picked from commit 78dad4c )
10 years ago
Juergen Hoeller
d573bbc6b8
Polishing
10 years ago
Stephane Nicoll
f7492348ba
Polish cache javadoc
...
Issue: SPR-13746
(cherry picked from commit 34b596c )
10 years ago
Juergen Hoeller
e4faaa3786
Reset BytesMessage after payload extraction
...
Issue: SPR-13769
(cherry picked from commit 8346eed )
10 years ago
Juergen Hoeller
d04f785094
Introduced createMethodJmsListenerEndpoint template method
...
Issue: SPR-13774
(cherry picked from commit 9589749 )
10 years ago
Juergen Hoeller
e37b75b165
Upgrade to Tomcat 8.0.30
10 years ago
Juergen Hoeller
f54aac1003
Polishing
10 years ago
Juergen Hoeller
c2fed6e7f1
StatementCreatorUtils detects Microsoft SQL Server driver 4.0 as well
...
Issue: SPR-13772
(cherry picked from commit d2ad2c3 )
10 years ago
Juergen Hoeller
242acda970
Javadoc fixes
...
Issue: SPR-13765
10 years ago
Juergen Hoeller
66c44524d7
AbstractRequestLoggingFilter unwraps request to find ContentCachingRequestWrapper
...
Issue: SPR-13764
(cherry picked from commit b1ef6ec )
10 years ago
Juergen Hoeller
0230c49a82
AnnotationConfigWebApplicationContext allows for custom AnnotatedBeanDefinitionReader/ClassPathBeanDefinitionScanner
...
Issue: SPR-9324
(cherry picked from commit 20beace )
10 years ago
Rossen Stoyanchev
f7f801c501
Configure view controllers with ApplicationContext
...
Issue: SPR-13762
10 years ago
Juergen Hoeller
83c9ec43da
Efficient and consistent setAllowedOrigins collection type
...
Issue: SPR-13761
(cherry picked from commit 3d1ae9c )
10 years ago
Juergen Hoeller
d03d8cb456
WebSocket namespace consistently applies resolvable allowed-origins value
...
Issue: SPR-13760
(cherry picked from commit cd4ce87 )
10 years ago
Juergen Hoeller
6963e27c7a
ControllerAdviceBean accepts bean types without @ControllerAdvice annotation (as in 3.2)
...
Issue: SPR-13759
(cherry picked from commit d64ac32 )
10 years ago
Juergen Hoeller
7a7877040f
Polishing
10 years ago
Juergen Hoeller
e38cea610c
Polishing
10 years ago
Juergen Hoeller
57d980130e
Avoid mismatch between cached top-level versus nested parameter type
...
Issue: SPR-13755
(cherry picked from commit c909789 )
10 years ago
Rossen Stoyanchev
ff8bbc93f3
lastSessionCheckTime updated after session check
...
Issue: SPR-13745
10 years ago
Juergen Hoeller
6f11d4f06c
Backported fix for lower-case media type lookups
...
Issue: SPR-13747
10 years ago
Brian Clozel
f53d01b00a
Do not rewrite relative links with FixedVersionStrategy
...
Prior to this change, the resource handling FixedVersionStrategy would
be applied on all links that match the configured pattern. This is
problematic for relative links and can lead to rewritten links such as
"/fixedversion/../css/main.css" which breaks.
This commit prevents that Strategy from being applied to such links.
Of course, one should avoid to use that VersionStrategy with relative
links, but this change aims at not breaking existing links even if it
means not prefixing the version as expected.
Issue: SPR-13727
(cherry picked from commit c226753 )
10 years ago
Juergen Hoeller
b3eefa2ae0
Documented units for send-time limit and buffer-size limit
...
Issue: SPR-13753
(cherry picked from commit 747863d )
10 years ago
Juergen Hoeller
5ac42bf9f8
Fixed formatting in AOP documentation
...
Issue: SPR-13750
10 years ago
Juergen Hoeller
79ded1ca72
MockHttpServletResponse.setIntHeader supports 'Content-Length' header as well
...
Issue: SPR-13752
(cherry picked from commit a4f5c46 )
10 years ago
Juergen Hoeller
fad0c9589d
Latest applicable dependency updates (JOpt Simple 4.9, C3P0 0.9.5.1, H2 1.4.190, HSQLDB 2.3.3)
10 years ago
Juergen Hoeller
85863a5442
Polishing
10 years ago
Juergen Hoeller
948ab21f43
Aligned class name quoting with ConversionFailedException
...
(cherry picked from commit 7589c1f )
10 years ago
Juergen Hoeller
c56d1a6677
Document destruction callback behavior for inner beans in case of scope mismatch
...
Issue: SPR-13739
(cherry picked from commit 998da2f )
10 years ago
Juergen Hoeller
e6d3c28ec2
Avoid instantiation of non-selected beans in BeanFactoryAnnotationUtils.qualifiedBeanOfType
...
Issue: SPR-13741
(cherry picked from commit 8ed2c47 )
10 years ago
Juergen Hoeller
a730b6e1aa
Backported exception message refinements from 4.2.x
10 years ago
Juergen Hoeller
6c4f0a4d9f
Backported conversion service test updates from 4.2.x
10 years ago
Juergen Hoeller
3bc2a97776
Unit tests for @Value Resource resolution
...
Issue: SPR-13731
(cherry picked from commit def1034 )
10 years ago
Juergen Hoeller
ce315b223e
Upgrade to Tomcat 8.0.29 and SLF4J 1.7.13
10 years ago
Juergen Hoeller
5bfa82db12
Javadoc fixes
...
(cherry picked from commit 9bb72e8 )
10 years ago
Juergen Hoeller
97148ce889
Polishing
10 years ago
Andy Clement
e410129aaf
Ensure cast correctly included for OpPlus compilation
...
When the plus operator is used between strings in a SpEL
expression and that expression is compiled, it is
important to include a cast if computation of any of
the operands isn't obviously leaving strings on the
stack. Likewise if the stack contents are known to
be strings, a cast should not be included.
Issue: SPR-12426
(cherry picked from commit 58756b0 )
10 years ago
Juergen Hoeller
55494362ef
SimpAnnotationMethodMessageHandler skips template variable check in case of no pattern
...
Issue: SPR-13704
(cherry picked from commit e8417ea )
10 years ago
Juergen Hoeller
393e36c29e
Latest applicable server engine updates (Jetty 9.2.14, Netty 4.0.33, Undertow 1.1.9)
10 years ago
Juergen Hoeller
5a95156dcc
Fixed class name in debug log message
10 years ago
Juergen Hoeller
71fc2ba174
Polishing
10 years ago
Juergen Hoeller
48838d48d2
Fixed various code examples in documentation
...
Issue: SPR-13666
Issue: SPR-13485
Issue: SPR-10474
10 years ago
Juergen Hoeller
5d6aab34cb
Reduced warn log entry without stacktrace for startup exceptions
...
Also, AbstractApplicationContext.isRunning avoids IllegalStateException now.
Issue: SPR-13663
Issue: SPR-13667
10 years ago
Juergen Hoeller
90a288513c
MethodInvokeTypeProvider lazily invokes target method (avoiding deserialization exploits)
...
Issue: SPR-13656
(cherry picked from commit ea2843e )
10 years ago
Juergen Hoeller
df49b11758
CommonsMultipartFile removes mixed separator paths from original filename
...
Issue: SPR-13662
(cherry picked from commit 5d9d88c )
10 years ago
Juergen Hoeller
d1f5ee2643
Avoid NPE for anonymous SqlParameter in CallMetaDataContext
...
Issue: SPR-13628
(cherry picked from commit 6685c78 )
10 years ago
Juergen Hoeller
0f4e4fcca6
Declared JDBC operation compiled flag as volatile
...
Issue: SPR-13617
(cherry picked from commit 81342f1 )
10 years ago
Rossen Stoyanchev
a8c7220fc7
Fix failing tests
10 years ago