Sam Brannen
42ea09b08a
Remove Hamcrest support from CompileWithTargetClassAccessClassLoader
...
CompileWithTargetClassAccessClassLoader is currently only used within the
CompileWithTargetClassAccessExtension which is dedicated to JUnit Jupiter
support which in turn should not have any direct dependencies on Hamcrest.
In other words, the JupiterTestEngine should not load any Hamcrest types
that would cause issues with the CompileWithTargetClassAccessClassLoader.
2022-08-01 13:37:03 +03:00
Sam Brannen
d9bf3e54f7
Removed unused method parameter
...
See gh-28901
2022-08-01 13:29:48 +03:00
Phillip Webb
4a23d9234c
Include shadow source jars in eclipse setup
...
See gh-28892
2022-08-01 11:28:01 +01:00
Sam Brannen
ce850a583c
Support overloaded test methods in CompileWithTargetClassAccessExtension
...
Prior to this commit, CompileWithTargetClassAccessExtension failed to
properly select overloaded test methods because it ignored the method
parameter list when looking up the test method.
This commit addresses this issue by selecting the test method using its
fully qualified method name which takes in account the class name,
method name, and parameter names.
Closes gh-28901
2022-08-01 13:07:58 +03:00
Sam Brannen
8fb27c3857
Polish CompileWithTargetClassAccessExtension
2022-08-01 13:07:58 +03:00
Sam Brannen
4896b115d2
Ensure CompileWithTargetClassAccessExtension only uses Jupiter TestEngine
...
Commit 9dd7f5412a (which has now been
reverted) addressed the issue of having the TestNG TestEngine for the
JUnit Platform on the test runtime classpath by allowing `org.testng`
types to pass through to the original ClassLoader; however, that fix
merely obfuscated the underlying issue.
The underlying issue is that the CompileWithTargetClassAccessExtension
is only applicable to JUnit Jupiter tests and therefore should launch
the JUnit Platform with only the JUnit Jupiter TestEngine active.
This commit addresses this issue by applying an EngineFilter to include
only the "junit-jupiter" test engine.
Closes gh-28900
2022-08-01 12:48:41 +03:00
Sam Brannen
b89b6bd7a8
Revert "Support TestNG with @CompileWithTargetClassAccess"
...
This reverts commit 9dd7f5412a .
2022-08-01 12:44:42 +03:00
Sam Brannen
fa74c353eb
Revert "Polishing"
...
This reverts commit c8648b523b .
2022-08-01 12:44:34 +03:00
Stephane Nicoll
13c68aab52
Merge pull request #28890 from eltociear
...
* pr/28890:
Fix typo in BasicJsonWriter.java
Closes gh-28890
2022-08-01 09:17:51 +02:00
Ikko Ashimine
4ac9b7bff2
Fix typo in BasicJsonWriter.java
...
See gh-28890
2022-08-01 09:17:28 +02:00
Sam Brannen
c8648b523b
Polishing
2022-07-31 15:07:02 +03:00
Sam Brannen
9dd7f5412a
Support TestNG with @CompileWithTargetClassAccess
2022-07-31 14:57:48 +03:00
Sam Brannen
e4395f2f8b
Clean up warnings and polishing
2022-07-31 14:14:56 +03:00
Phillip Webb
9d1e9703ae
Include shadowed jar source in published source artifacts
...
Add a new `ShadowSource` Gradle task and update `spring-core.gradle`
to include source for cglib, javapoet and objenesis.
Closes gh-28892
Co-authored-by: Andy Wilkinson <wilkinsona@vmware.com >
2022-07-30 10:25:58 +01:00
Sam Brannen
2dc8335b7f
Make BootstrapUtils public
...
See gh-28891
2022-07-30 11:21:14 +03:00
Sam Brannen
ebeadc74c5
Add missing [@]since tag
...
See gh-17282
2022-07-30 11:14:06 +03:00
Sam Brannen
64c3ad3634
Make BootstrapUtils.resolveTestContextBootstrapper() public
...
Closes gh-28891
2022-07-30 11:09:07 +03:00
Sam Brannen
ad99add429
Polish AOT support
2022-07-30 10:51:14 +03:00
Sam Brannen
3912ef1507
Polish TestCompiler support
2022-07-30 10:51:14 +03:00
Stephane Nicoll
11d790c6eb
Merge branch '5.3.x'
2022-07-29 18:07:37 +02:00
Stephane Nicoll
5ab55dfb64
Merge pull request #28183 from luvarqpp
...
* pr/28183:
Polish "Improve documentation of Cacheable"
Improve documentation of Cacheable
Closes gh-28183
2022-07-29 18:06:57 +02:00
Stephane Nicoll
04209def46
Polish "Improve documentation of Cacheable"
...
Apply the same improvements to CacheEvict and CachePut.
See gh-28183
2022-07-29 18:04:23 +02:00
luvarqpp
3a61930bd0
Improve documentation of Cacheable
...
See gh-28183
2022-07-29 17:57:15 +02:00
Stephane Nicoll
7b4a37f573
Merge pull request #28472 from JiayiLi1999
...
* pr/28472:
Polish "Improve test coverage of RdbmsOperation"
Improve test coverage of RdbmsOperation
Closes gh-28472
2022-07-29 17:37:30 +02:00
Stephane Nicoll
f9ee8a93ad
Polish "Improve test coverage of RdbmsOperation"
...
See gh-28472
2022-07-29 17:36:33 +02:00
Jiayi Li
608be54a58
Improve test coverage of RdbmsOperation
...
See gh-28472
2022-07-29 17:28:00 +02:00
Stephane Nicoll
1bdb67cda9
Merge branch '5.3.x'
2022-07-29 17:13:52 +02:00
Stephane Nicoll
456c7889a3
Merge pull request #28488 from arend-von-reinersdorff
...
* pr/28488:
Polish "Clarify docs on JNDI properties in Servlet environment"
Clarify docs on JNDI properties in Servlet environment
Closes gh-28488
2022-07-29 17:13:42 +02:00
Stephane Nicoll
982d8ea84a
Polish "Clarify docs on JNDI properties in Servlet environment"
...
See gh-28488
2022-07-29 17:09:55 +02:00
Arend v. Reinersdorff
67eb2bbf19
Clarify docs on JNDI properties in Servlet environment
...
See gh-28488
2022-07-29 17:05:58 +02:00
Stephane Nicoll
c2f6d346d5
Merge branch '5.3.x'
2022-07-29 17:01:28 +02:00
Stephane Nicoll
a6596e2446
Merge pull request #28780 from vpavic
...
* pr/28780:
Add missing nullability annotations to ResponseCookie
Closes gh-28780
2022-07-29 17:01:19 +02:00
Vedran Pavic
812b089f1d
Add missing nullability annotations to ResponseCookie
...
See gh-28780
2022-07-29 16:54:37 +02:00
Stephane Nicoll
916a871fbc
Add dedicated hint support for composable annotations
...
This commit adds a dedicated method for annotations that are used as
meta-annotation when the composed annotation does not require to be
visible at runtime.
Closes gh-28887
2022-07-29 15:38:09 +02:00
Rossen Stoyanchev
1aa4e7c68d
Merge branch '5.3.x'
2022-07-29 16:20:51 +03:00
Rossen Stoyanchev
2172b99fee
Polishing contribution
...
Closes gh-28836
2022-07-29 15:24:17 +03:00
floriankirmaier
b6144e5682
Improve setting of WebSocket error status
...
See gh-28836
2022-07-29 15:07:15 +03:00
Rossen Stoyanchev
6e6f8637d1
Polishing contribution
...
Closes gh-28771
2022-07-29 14:45:42 +03:00
Johnny Lim
00f7f5ff0a
Use MediaType.APPLICATION_FORM_URLENCODED_VALUE
...
See gh-28771
2022-07-29 14:40:45 +03:00
Stephane Nicoll
56a8c1a9db
Register proxy hint for meta-annotations with attribute override
...
Closes gh-28767
2022-07-29 13:23:32 +02:00
Arjen Poutsma
e0190c12d4
Merge branch '5.3.x'
2022-07-29 11:10:09 +02:00
Arjen Poutsma
3d4a778b73
Fix KDoc API link
2022-07-29 11:08:57 +02:00
Stephane Nicoll
28ca0dd642
Merge branch '5.3.x'
2022-07-29 09:31:50 +02:00
Stephane Nicoll
446c1add4f
Merge pull request #28885 from edfeff
...
* pr/28885:
Upgrade copyright year of changed file
Fix typo in Javadoc of AbstractEncoder
Closes gh-28885
2022-07-29 09:31:42 +02:00
Stephane Nicoll
aef4b0ec5a
Upgrade copyright year of changed file
...
See gh-28885
2022-07-29 09:29:58 +02:00
wpp
675e0b94c1
Fix typo in Javadoc of AbstractEncoder
...
See gh-28885
2022-07-29 09:29:35 +02:00
Stephane Nicoll
8e7faab4f6
Polish
2022-07-28 16:37:08 +02:00
Phillip Webb
24fafc2fb7
Document that AOT processors are initialized during AOT processing
...
Closes gh-28866
2022-07-28 14:30:26 +01:00
Phillip Webb
9413383d72
Enforce BeanRegistrationExcludeFilter beans are also AOT processors
...
Update `BeanDefinitionMethodGeneratorFactory` to enforce that any
`BeanRegistrationExcludeFilter` filter that is from a bean factory
also implements an AOT processor interface.
See gh-28866
2022-07-28 14:29:28 +01:00
Phillip Webb
a4f3d1d6e8
Track the sources used to load AOT services
...
Update `AotServices` so that it tracks which source was used to
provide a given instance.
See gh-28866
2022-07-28 14:28:37 +01:00