Skip to content

Commit

Permalink
Make sure APIJAR reproduces with different timezone (unfortunately ja…
Browse files Browse the repository at this point in the history
…va encodes the date using local timezone) (#12315)
  • Loading branch information
uschindler committed May 19, 2023
1 parent 4d1ed9e commit b21b396
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions gradle/generation/panama-foreign.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,9 @@ configure(project(":lucene:core")) {

classpath = configurations.apiextractor
mainClass = file("${resources}/ExtractForeignAPI.java") as String
systemProperties = [
'user.timezone': 'UTC'
]
args = [
jdkVersion,
new File(apijars, "panama-foreign-jdk${jdkVersion}.apijar"),
Expand Down
Binary file modified lucene/core/src/generated/jdk/panama-foreign-jdk19.apijar
Binary file not shown.
Binary file modified lucene/core/src/generated/jdk/panama-foreign-jdk20.apijar
Binary file not shown.

0 comments on commit b21b396

Please sign in to comment.