You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@lucene.apache.org by us...@apache.org on 2023/05/19 16:50:35 UTC
[lucene] branch branch_9x updated: Make sure APIJAR reproduces with different timezone (unfortunately java encodes the date using local timezone) (#12315)
This is an automated email from the ASF dual-hosted git repository.
uschindler pushed a commit to branch branch_9x
in repository https://gitbox.apache.org/repos/asf/lucene.git
The following commit(s) were added to refs/heads/branch_9x by this push:
new b21b396d065 Make sure APIJAR reproduces with different timezone (unfortunately java encodes the date using local timezone) (#12315)
b21b396d065 is described below
commit b21b396d065792b9a0cb58c540872f8a819642d5
Author: Uwe Schindler <us...@apache.org>
AuthorDate: Fri May 19 18:42:55 2023 +0200
Make sure APIJAR reproduces with different timezone (unfortunately java encodes the date using local timezone) (#12315)
---
gradle/generation/panama-foreign.gradle | 3 +++
.../src/generated/jdk/panama-foreign-jdk19.apijar | Bin 20781 -> 20781 bytes
.../src/generated/jdk/panama-foreign-jdk20.apijar | Bin 19487 -> 19487 bytes
3 files changed, 3 insertions(+)
diff --git a/gradle/generation/panama-foreign.gradle b/gradle/generation/panama-foreign.gradle
index 694c4656e2f..119dc8fad00 100644
--- a/gradle/generation/panama-foreign.gradle
+++ b/gradle/generation/panama-foreign.gradle
@@ -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"),
diff --git a/lucene/core/src/generated/jdk/panama-foreign-jdk19.apijar b/lucene/core/src/generated/jdk/panama-foreign-jdk19.apijar
index c9b73d9193b..f1672b81fcb 100644
Binary files a/lucene/core/src/generated/jdk/panama-foreign-jdk19.apijar and b/lucene/core/src/generated/jdk/panama-foreign-jdk19.apijar differ
diff --git a/lucene/core/src/generated/jdk/panama-foreign-jdk20.apijar b/lucene/core/src/generated/jdk/panama-foreign-jdk20.apijar
index 03baf38a193..f50d50c4f8e 100644
Binary files a/lucene/core/src/generated/jdk/panama-foreign-jdk20.apijar and b/lucene/core/src/generated/jdk/panama-foreign-jdk20.apijar differ