Skip to content

Temp plugin PR for discussion#2273

Draft
david-beaumont wants to merge 17 commits intoopenjdk:lworldfrom
david-beaumont:temp_plugin
Draft

Temp plugin PR for discussion#2273
david-beaumont wants to merge 17 commits intoopenjdk:lworldfrom
david-beaumont:temp_plugin

Conversation

@david-beaumont
Copy link
Copy Markdown
Contributor

@david-beaumont david-beaumont commented Mar 27, 2026

Temp plugin PR for discussion


Progress

  • Change must not contain extraneous whitespace
  • Commit message must refer to an issue
  • Change must be properly reviewed (1 review required, with at least 1 Committer)

Reviewing

Using git

Checkout this PR locally:
$ git fetch https://git.openjdk.org/valhalla.git pull/2273/head:pull/2273
$ git checkout pull/2273

Update a local copy of the PR:
$ git checkout pull/2273
$ git pull https://git.openjdk.org/valhalla.git pull/2273/head

Using Skara CLI tools

Checkout this PR locally:
$ git pr checkout 2273

View PR using the GUI difftool:
$ git pr show -t 2273

Using diff file

Download this PR as a diff file:
https://git.openjdk.org/valhalla/pull/2273.diff

@bridgekeeper
Copy link
Copy Markdown

bridgekeeper bot commented Mar 27, 2026

👋 Welcome back dbeaumont! A progress list of the required criteria for merging this PR into lworld will be added to the body of your pull request. There are additional pull request commands available for use with this pull request.

@openjdk
Copy link
Copy Markdown

openjdk bot commented Mar 27, 2026

❗ This change is not yet ready to be integrated.
See the Progress checklist in the description for automated requirements.


################################################################################

$(eval $(call SetupJavaCompilation, BUILD_VALUETYPE_GENSRC, \
Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I don't know if BUILD_VALUETYPE_GENSRC here has to match the one in ToolsJdk.gmk, but I assume so for now.

Might even be worth a plugin macro/rule since there are now 2 cases and generating the service provider stuff could be made common.

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

If the plugin works, I can delete this (but this is the working annotation processor for reference for now).

List<JCClassDecl> classes = new ArrayList<>();
new TreeScanner() {
@Override
public void visitClassDef(JCClassDecl cls) {
Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Even if the test for "having an annotation" isn't working, the code should just result in nothing happening, but that's not the case, it just fails (without any useful output).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

1 participant