Skip to content

Commit

Permalink
Support ElementType MODULE and RECORD_COMPONENT on annotations (#10002)
Browse files Browse the repository at this point in the history
While GWT has no use for JPMS modules, sources that rely on this target
fail to compile with GWT (causing an error in JDT that results in a
hard-to-interpret asm stack trace).

Fixes #10001
  • Loading branch information
niloc132 authored Sep 12, 2024
1 parent 15d11a2 commit 6307e79
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,6 @@
* docs]</a>.
*/
public enum ElementType {
ANNOTATION_TYPE, CONSTRUCTOR, FIELD, LOCAL_VARIABLE, METHOD, PACKAGE,
PARAMETER, TYPE, TYPE_PARAMETER, TYPE_USE,
ANNOTATION_TYPE, CONSTRUCTOR, FIELD, LOCAL_VARIABLE, METHOD, MODULE, PACKAGE,
PARAMETER, RECORD_COMPONENT, TYPE, TYPE_PARAMETER, TYPE_USE,
}

0 comments on commit 6307e79

Please sign in to comment.