Skip to content

Commit

Permalink
Make g-j-f native image more compatible
Browse files Browse the repository at this point in the history
I was reminded of this by bazelbuild/bazel#20306

PiperOrigin-RevId: 585447776
  • Loading branch information
cushon authored and google-java-format Team committed Dec 8, 2023
1 parent b92435a commit a2067bc
Showing 1 changed file with 18 additions and 0 deletions.
18 changes: 18 additions & 0 deletions core/src/main/resources/META-INF/native-image/reflect-config.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,5 +2,23 @@
{
"name": "com.sun.tools.javac.parser.UnicodeReader",
"allDeclaredMethods": true
},
{
"name": "com.google.googlejavaformat.java.java17.Java17InputAstVisitor",
"methods": [
{
"name": "<init>",
"parameterTypes": ["com.google.googlejavaformat.OpsBuilder", "int"]
}
]
},
{
"name": "com.google.googlejavaformat.java.java21.Java21InputAstVisitor",
"methods": [
{
"name": "<init>",
"parameterTypes": ["com.google.googlejavaformat.OpsBuilder", "int"]
}
]
}
]

0 comments on commit a2067bc

Please sign in to comment.