Brian Clozel
ee284f2ee6
Add "forEachByte" variant to DataBuffer
...
As reported in gh-34651, `DataBuffer#getByte` can be inefficient for
some implementations, as bound checks are performed for each call.
This commit introduces a new `forEachByte` method that helps with
traversing operations without paying the bound check cost for each byte.
Closes gh-35623
3 months ago
Sam Brannen
2591cab561
Polishing
3 months ago
Sam Brannen
8456cd1e74
Polish contribution
...
See gh-35587
3 months ago
Igor Murzich
7699b4af9c
Retain order of produces media types in @ExceptionHandler
...
Closes gh-35587
Signed-off-by: Igor Murzich <imurzich@gmail.com>
3 months ago
Juergen Hoeller
6c5de48059
Ignore SQL state 3B001 in HSQLDB exception message as well
...
Closes gh-35618
See gh-35564
3 months ago
Juergen Hoeller
9f678ce698
Upgrade to Jetty 12.0.28, Undertow 2.3.20, RxJava 3.1.12, Aalto 1.3.4, Gson 2.13.2, Selenium 4.36, HtmlUnit 4.17, Mockito 5.20, AssertJ 3.27.6
3 months ago
Juergen Hoeller
467a484df6
Polishing
...
See gh-35460
3 months ago
Juergen Hoeller
83efe8cff4
Remove deprecation on CandidateComponentsIndex(Loader)
...
See gh-35472
3 months ago
rstoyanchev
2c83144946
Use getRemoteAddr in ServletServerHttpRequest
...
Closes gh-35589
3 months ago
rstoyanchev
c165dd5e0e
Update Javadoc of reactive WebSocketHandler
...
Replace suggestion to use zip with and operator.
Closes gh-35572
3 months ago
Juergen Hoeller
449b85f446
Avoid overhead for parsing plain values and simple placeholders
...
Closes gh-35594
3 months ago
Juergen Hoeller
c2a66e723f
Polishing
3 months ago
Juergen Hoeller
2ee34a5632
Add MySQLTableMetaDataProvider for correct generated-keys support
...
Closes gh-35593
3 months ago
Juergen Hoeller
1bc82d241a
Remove deprecation on CandidateComponentsIndex(Loader)
...
Closes gh-35472
3 months ago
Juergen Hoeller
80e7ee321e
Mark bootstrap thread for entire finishBeanFactoryInitialization phase
...
Closes gh-35398
3 months ago
Juergen Hoeller
ecd3dd8883
Consistent local synchronization in getObjectFromFactoryBean
...
Closes gh-35545
3 months ago
Juergen Hoeller
332953c9a4
Align BatchUpdateException handling among SQLExceptionTranslator variants
...
Closes gh-35547
3 months ago
Sam Brannen
1cdd56bf02
Log multiple primary bean detection in DefaultListableBeanFactory
...
Prior to this commit, a NoUniqueBeanDefinitionException was thrown when
multiple primary beans were detected within a given set of beans, but
nothing was logged. For use cases where the exception is handled by
infrastructure code, it may not be obvious to the developer what the
problem is.
To address that, a TRACE message is now logged whenever multiple
competing primary beans are detected in DefaultListableBeanFactory.
Closes gh-35550
3 months ago
Juergen Hoeller
3041071269
Consistently apply useCaches for single Resource lookup
...
Closes gh-35465
3 months ago
Juergen Hoeller
2da821389c
Remove redundant object allocation in cglib proxy method calls
...
Reformatted with Spring patch markers and backported to 6.2.12
Closes gh-35543
3 months ago
Juergen Hoeller
d484e4f3ff
Ignore SQL state 3B001 in releaseSavepoint (for HSQLDB)
...
Closes gh-35564
3 months ago
Juergen Hoeller
74dc61b8c4
Fall back to local synchronization in getObjectFromFactoryBean
...
Closes gh-35545
3 months ago
Sam Brannen
717358b56b
Short circuit ClassUtils.findPubliclyAccessibleMethodIfPossible(...)
...
Once we find a publicly accessible method, there is no need to continue
traversing the type hierarchy.
See gh-35556
3 months ago
Sébastien Deleuze
836634c47f
Upgrade CI workflow from Java 24 to Java 25
3 months ago
Juergen Hoeller
a6f6ecfe6c
Revise getPubliclyAccessibleMethodIfPossible to rely on Module#isExported
...
This avoids reflection and cache access for regular public and exported types.
Closes gh-35556
3 months ago
Juergen Hoeller
e3da26ebbd
Clarify event parameter type for multiple mapped classes
...
Closes gh-35506
3 months ago
Maziyar Bahramian
e1c008f5a3
Fix URI Patterns docs for WebMVC and WebFlux
...
Closes gh-35551
Signed-off-by: Maziyar Bahramian <maziyar.bahramian@gmail.com>
3 months ago
Sébastien Deleuze
cb849a7071
Add a test for CGLIB Enhancer Kotlin refinements
...
This commit adds a reproducer for the change of behavior introduced via
https://youtrack.jetbrains.com/issue/KT-76667 . The test is only broken
with Kotlin 2.2.20+ without the related fix (see previous commit).
Closes gh-35487
3 months ago
Juergen Hoeller
3e37279db6
Make CGLIB Enhancer compatible with Kotlin 2.2.20+
...
This commit refines Enhancer#emitMethods to support the changes
introduced by https://youtrack.jetbrains.com/issue/KT-76667 .
See gh-35487
3 months ago
rstoyanchev
b3264ec2a8
Fix typo
3 months ago
rstoyanchev
df860fd3cd
Polishing contribution
...
Closes gh-35493
3 months ago
Réda Housni Alaoui
636523a2f5
AbstractMockHttpServletRequestBuilder#buildRequest is not idempotent
...
See gh-35493
Signed-off-by: Réda Housni Alaoui <reda-alaoui@hey.com>
3 months ago
rstoyanchev
a19b51b7e0
Handle invalid position in ResourceHttpMessageWriter
...
Closes gh-35536
3 months ago
rstoyanchev
fbdece6759
Polishing in ResourceHttpMessageWriter
...
See gh-35536
3 months ago
Sam Brannen
64d42fefda
Fix idref example in reference manual
...
Closes gh-35560
3 months ago
Sam Brannen
447cfa18e9
Polishing
3 months ago
Sam Brannen
ec3d9d6253
Upgrade to JUnit 5.14
...
Closes gh-35555
3 months ago
Sam Brannen
5cd2cb38e1
Make AbstractTestNGSpringContextTests thread-safe regarding tracked exceptions
...
Prior to this commit, AbstractTestNGSpringContextTests was not
thread-safe with regard to tracked exceptions.
To address that, AbstractTestNGSpringContextTests now tracks the test
exception via a ThreadLocal.
Closes gh-35528
3 months ago
rstoyanchev
e9fb5eb38a
Respect forwarded path in UrlHandlerFilter
...
Closes gh-35509
4 months ago
rstoyanchev
5a858915ea
Revise parsed path handling in UrlHandlerFilter
...
Closes gh-35538
4 months ago
Brian Clozel
d85a020e4e
Improve Task Javadoc about Runnable wrapping
...
Closes gh-35394
4 months ago
Brian Clozel
0cc79ba366
Catch EOFException in IntrospectingClientHttpResponse
...
Prior to this commit, the `IntrospectingClientHttpResponse` would try
and read the HTTP response stream in order to check for the presence of
a non-empty message body.
Developers reported that in some cases, an `EOFException` is thrown
instead of returning -1 from the `read()` method. This commit ensures
that this case is taken into account and that we report the response as
an empty body in these cases.
Closes gh-35361
4 months ago
Sam Brannen
1e29911292
Upgrade to AssertJ 3.27.5
4 months ago
Juergen Hoeller
931686a5ee
Upgrade to SnakeYAML 2.5, Protobuf 4.32.1, ActiveMQ 5.17.7 and Artemis 2.42, EasyMock 5.6, AssertJ 3.27.4, XMLUnit 2.10.4, Dom4J 2.2
4 months ago
Juergen Hoeller
bf715ac23e
Polishing
4 months ago
Brian Clozel
b213344d25
Fix synchronization in ResponseBodyEmitter
...
See gh-35423
Fixes gh-35466
(cherry picked from commit 20e1149dde7ff042154e4098d49939a886661c3e)
4 months ago
Stéphane Nicoll
0a48984fab
Suppress deprecating warnings for getInstanceSupplier() method as well
...
This commit fixes code generation for a bean produced by a protected
factory method. Previously only the code generated for public methods,
i.e. without a dedicated instance supplier method, was handled.
Closes gh-35486
4 months ago
Brian Clozel
cbdd107799
Next development version (v6.2.12-SNAPSHOT)
4 months ago
Juergen Hoeller
d17601e01c
Upgrade to Undertow 2.3.19, RxJava 3.1.11, Aalto 1.3.3
4 months ago
Juergen Hoeller
5b387615c6
Clarify intended nestedTransactionAllowed default in JpaTransactionManager
...
Closes gh-35212
4 months ago