aboutsummaryrefslogtreecommitdiffstats
path: root/docs
diff options
context:
space:
mode:
authorAlexander Kriegisch <Alexander@Kriegisch.name>2024-02-19 09:41:18 +0700
committerAlexander Kriegisch <Alexander@Kriegisch.name>2024-02-19 09:43:36 +0700
commit08d0c4435b61512f55f8d0e357b09496fdbe155a (patch)
tree1766efaad12d8a6b4dfbc752b075be7e207f6427 /docs
parent97b184aae84da7a821aa9beafe542520d5cf25e4 (diff)
downloadaspectj-08d0c4435b61512f55f8d0e357b09496fdbe155a.tar.gz
aspectj-08d0c4435b61512f55f8d0e357b09496fdbe155a.zip
Add 'AspectJ_JDK_Update' hint in various places
The hint is meant to help AspectJ developers identify the places where there are to-dos for releases supporting new Java versions. This is work in progress, new tags can be added wherever necessary in the future. But for now, the most important places should be covered: - AJC version string - Test infrastructure (test suites, classes and XML files) - BCEL class file version MAJOR_*, MINOR_* constants - AjcTask constants for compiler source, target, release - LangUtil::is*VMOrGreater methods - ASM and JDT Core dependency versions - CI workflow file - Release notes The to-do to check the tagged places is also mentioned in RELEASE.md. Signed-off-by: Alexander Kriegisch <Alexander@Kriegisch.name>
Diffstat (limited to 'docs')
-rw-r--r--docs/developer/RELEASE.md4
-rw-r--r--docs/release/README-1.9.21.adoc3
2 files changed, 7 insertions, 0 deletions
diff --git a/docs/developer/RELEASE.md b/docs/developer/RELEASE.md
index 69db8a0f5..40e942233 100644
--- a/docs/developer/RELEASE.md
+++ b/docs/developer/RELEASE.md
@@ -73,6 +73,10 @@ manual versioning process without using Maven Release plugin. It might work usin
- committing the snapshot POMs,
- pushing the previous commits and the release tag to the upstream Git repository.
+If the AspectJ release also includes support for a new Java version, then before releasing AspectJ, search for the
+term `AspectJ_JDK_Update` across all files in the code base, also non-Java ones. Check, that you have not forgotten to
+add any necessary infrastructure or to increment version numbers as appropriate.
+
In order to show the details and give you more control over the process, you can do it step by step as follows:
```shell
diff --git a/docs/release/README-1.9.21.adoc b/docs/release/README-1.9.21.adoc
index 5179cb0da..de9447937 100644
--- a/docs/release/README-1.9.21.adoc
+++ b/docs/release/README-1.9.21.adoc
@@ -2,6 +2,9 @@
:doctype: book
:leveloffset: +1
+// AspectJ_JDK_Update: Each a.b.c release needs a new release notes document. For a.b.c.d minors, the existing a.b.c
+// document can be updated. After copying this document, remove the comment from the previous one.
+
The releases 1.9.21 and 1.9.21.1 are described together in this document.
= AspectJ 1.9.21.1