Sébastien Deleuze
91bb7d8daf
Use code includes and tabs in MVC Config documentation
...
This commit also refines the documentation related to
`@EnableWebMvc` in order to make it more relevant for modern Boot
applications.
See gh-22171
2024-03-29 17:58:01 +01:00
Sébastien Deleuze
db1010f9c9
Add CBOR support to AllEncompassingFormHttpMessageConverter
...
Closes gh-32428
2024-03-28 14:59:22 +01:00
Sébastien Deleuze
cf87441a26
Remove unnecessary method.isAccessible() invocation
...
Closes gh-32548
2024-03-28 11:50:29 +01:00
Sébastien Deleuze
dc982d0d51
Merge branch '6.1.x'
2024-03-28 11:14:42 +01:00
Sébastien Deleuze
048e4f0aa2
Invoke KCallablesJvm.setAccessible only when required
...
Closes-32536
2024-03-28 11:12:50 +01:00
T45K
b28153e1d7
Fix handling of value class with private constructor
...
See gh-32536
2024-03-28 11:11:58 +01:00
Sébastien Deleuze
996e66abdb
Perform NullAway build-time checks in spring-test
...
Closes gh-32475
2024-03-26 18:14:56 +01:00
Sébastien Deleuze
96d9081190
Merge branch '6.1.x'
2024-03-26 18:10:25 +01:00
Sébastien Deleuze
88b9c0567d
Refine null-safety in spring-test
...
See gh-32475
2024-03-26 18:09:55 +01:00
Stéphane Nicoll
bf5b22d64f
Merge branch '6.1.x'
2024-03-26 17:45:25 +01:00
Stéphane Nicoll
c7c9da56da
Consistent atMost period for Awaitility-based tests
...
Closes gh-32537
2024-03-26 17:45:14 +01:00
Sébastien Deleuze
8b51b36729
Perform NullAway build-time checks in more modules
...
This commit enables null-safety build-time checks in
all remaining modules except spring-test.
See gh-32475
2024-03-26 15:53:01 +01:00
Sébastien Deleuze
2fea3d7921
Merge branch '6.1.x'
2024-03-26 15:41:46 +01:00
Sébastien Deleuze
290a41d398
Refine null-safety in more modules
...
This commit refines the null-safety in all remaining modules
except spring-test.
See gh-32475
2024-03-26 15:39:18 +01:00
Sam Brannen
f47352ff04
Polish PropertyOrFieldReference
2024-03-26 13:21:46 +01:00
Stéphane Nicoll
c1ed504ac1
Avoid classpath scanning in test
...
This commit updates SpringConfiguratorTests to not rely on classpath
scanning as it could have side effect. In this particular case, the
configuration class that sources the scan is detected again, leading
to bean overriding.
Irrespective of that, adding more code in that package may have side
effect as they could be scanned as well.
Closes gh-32535
2024-03-26 10:41:00 +01:00
Sébastien Deleuze
5b660da52d
Perform NullAway build-time checks in more modules
...
This commit enables null-safety build-time checks in:
- spring-jdbc
- spring-r2dbc
- spring-orm
- spring-beans
- spring-aop
See gh-32475
2024-03-26 09:59:30 +01:00
Sébastien Deleuze
3b4f8dbb8e
Merge branch '6.1.x'
2024-03-26 09:47:09 +01:00
Sébastien Deleuze
1b563f8ba4
Refine null-safety in more modules
...
This commit refines the null-safety in:
- spring-jdbc
- spring-r2dbc
- spring-orm
- spring-beans
- spring-aop
See gh-32475
2024-03-26 09:46:34 +01:00
Sam Brannen
4b0a048570
Polish SpEL internals and remove duplicate code
2024-03-25 17:47:14 +01:00
Sam Brannen
57632f9f08
Fix wording in SpEL's PropertyAccessor Javadoc
...
The documentation now properly refers to "property accessors" instead
of "resolvers".
2024-03-25 14:26:40 +01:00
Sébastien Deleuze
7c009ccc1f
Perform NullAway build-time checks in spring-messaging
...
See gh-32475
2024-03-25 12:30:03 +01:00
Sébastien Deleuze
f421f38e24
Merge branch '6.1.x'
2024-03-25 12:28:53 +01:00
Sébastien Deleuze
dea31dd55e
Refine null-safety in spring-messaging
...
See gh-32475
2024-03-25 12:24:53 +01:00
Sébastien Deleuze
88e26a9570
Merge branch '6.1.x'
2024-03-25 11:28:43 +01:00
Sébastien Deleuze
06b91c4ea5
Refine null-safety in spring-jms
...
See gh-32475
2024-03-25 11:28:00 +01:00
Sébastien Deleuze
2fc78dfb69
Perform NullAway build-time checks in spring-jms
...
See gh-32475
2024-03-25 11:27:04 +01:00
Sébastien Deleuze
e52ee01ec8
Perform NullAway build-time checks in spring-web
...
Also in spring-websocket.
See gh-32475
2024-03-25 11:11:09 +01:00
Sébastien Deleuze
2b1eb488fc
Merge branch '6.1.x'
2024-03-25 11:04:49 +01:00
Sébastien Deleuze
a63ebe7e9d
Refine null-safety in spring-web and spring-websocket
...
See gh-32475
2024-03-25 11:02:44 +01:00
Sam Brannen
5bec072dcb
Polish SpEL internals
2024-03-24 17:07:42 +01:00
Stéphane Nicoll
8736ca038a
Merge branch '6.1.x'
2024-03-24 09:23:10 +01:00
Stéphane Nicoll
c4b615052e
Merge pull request #32517 from izeye
...
* pr/32517:
Add Javadoc since to KotlinSerializationStringEncoder.setStreamingMediaTypes()
Closes gh-32517
2024-03-24 09:23:05 +01:00
Johnny Lim
dca5f1dcd8
Add Javadoc since to KotlinSerializationStringEncoder.setStreamingMediaTypes()
...
See gh-32517
2024-03-24 09:21:36 +01:00
Stéphane Nicoll
aa9f0b3cb2
Merge pull request #32524 from izeye
...
* pr/32524:
Fix Javadoc since to ChannelRegistration.executor()
Closes gh-32524
2024-03-24 08:29:45 +01:00
Johnny Lim
56b14dc54a
Fix Javadoc since to ChannelRegistration.executor()
...
See gh-32524
2024-03-24 08:29:22 +01:00
Sam Brannen
2a74fe5ddb
Introduce null-safe index operator in SpEL
...
This set of commits introduces support for a null-safe operator in the
Spring Expression Language (SpEL), including support for compiling
expressions that use the null-safe index operator.
Note, however, that compilation is not supported for null-safe indexing
into a String or any kind of Collection (other than a List).
See gh-21468
Closes gh-29847
2024-03-23 15:03:51 +01:00
Sam Brannen
218a148898
Document null-safe index operator in SpEL
...
See gh-29847
2024-03-23 14:56:01 +01:00
Sam Brannen
38c473fd05
Support compilation of null-safe index operations in SpEL
...
See gh-29847
2024-03-23 13:48:20 +01:00
Sam Brannen
d2bd0d5716
Retain null-safe syntax in AST representation of SpEL indexers
...
Prior to this commit, SpEL's CompoundExpression omitted the null-safe
syntax in AST string representations of indexing operations.
To address this, this commit implements isNullSafe() in Indexer.
See gh-29847
2024-03-23 12:46:03 +01:00
Sam Brannen
4d433174eb
Revise null-safe index operator support in SpEL
...
See gh-29847
2024-03-23 12:46:03 +01:00
Grigory Stepanov
9f4d46fe33
Introduce null-safe index operator in SpEL
...
See gh-29847
2024-03-23 12:38:10 +01:00
Sam Brannen
2a1abb5553
Simplify compilation of array indexing in SpEL's Indexer
2024-03-23 12:35:25 +01:00
Sam Brannen
7edd4e8e22
Clean up warnings in Gradle build
2024-03-23 09:28:49 +01:00
Felix
05b15812bb
Apply instanceof pattern matching in RootBeanDefinition
...
Closes gh-32520
2024-03-23 09:09:25 +01:00
Sébastien Deleuze
0e7aba4179
Perform NullAway build-time checks in spring-webmvc
...
See gh-32475
2024-03-22 17:49:03 +01:00
Sébastien Deleuze
cf8810042a
Merge branch '6.1.x'
2024-03-22 17:46:35 +01:00
Sébastien Deleuze
a16e8c34b2
Refine null-safety in spring-webmvc
...
See gh-32475
2024-03-22 17:44:35 +01:00
Sam Brannen
88bc3f270e
Merge branch '6.1.x'
2024-03-22 17:18:38 +01:00
Sam Brannen
52b8c71dcd
Retain null-safe syntax in AST representation of selection & projection
...
Prior to this commit, SpEL's CompoundExpression omitted the null-safe
syntax in AST string representations of the selection and projection
operators.
To address this, this commit implements isNullSafe() in Projection and
Selection.
Closes gh-32515
2024-03-22 17:05:48 +01:00