Skip to content

Commit 8178545

Browse files
committed
Mark module as deprecated for removal
1 parent 7b43fcc commit 8178545

File tree

3 files changed

+9
-0
lines changed

3 files changed

+9
-0
lines changed

documentation/src/docs/asciidoc/release-notes/release-notes-6.0.1.adoc

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -40,6 +40,11 @@ repository on GitHub.
4040
* Fix support for test methods with the same signature as a package-private methods
4141
declared in super classes in different packages.
4242

43+
[[release-notes-6.0.1-junit-jupiter-deprecations-and-breaking-changes]]
44+
==== Deprecations and Breaking Changes
45+
46+
* Mark `org.junit.jupiter.migrationsupport` module descriptor as deprecated for removal.
47+
4348
[[release-notes-6.0.1-junit-jupiter-new-features-and-improvements]]
4449
==== New Features and Improvements
4550

junit-jupiter-migrationsupport/src/main/java/module-info.java

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,10 @@
1212
* Support for migrating from JUnit 4 to JUnit Jupiter.
1313
*
1414
* @since 5.0
15+
* @deprecated Please migrate to the corresponding APIs and extensions provided
16+
* by JUnit Jupiter.
1517
*/
18+
@Deprecated(forRemoval = true)
1619
module org.junit.jupiter.migrationsupport {
1720

1821
requires static transitive org.apiguardian.api;

platform-tooling-support-tests/src/test/java/platform/tooling/support/tests/ModularUserGuideTests.java

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -44,6 +44,7 @@
4444
class ModularUserGuideTests {
4545

4646
private static final String DOCUMENTATION_MODULE_DESCRIPTOR = """
47+
@SuppressWarnings("removal")
4748
open module documentation {
4849
exports example.testkit; // just here to ensure documentation example sources are compiled
4950

0 commit comments

Comments
 (0)