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:43:01 UTC
[lucene] branch main 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 main
in repository https://gitbox.apache.org/repos/asf/lucene.git
The following commit(s) were added to refs/heads/main by this push:
new 84e2e3afc36 Make sure APIJAR reproduces with different timezone (unfortunately java encodes the date using local timezone) (#12315)
84e2e3afc36 is described below
commit 84e2e3afc364ed7e332ffad08a79f2465bff22d1
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 20079 -> 20079 bytes
.../src/generated/jdk/panama-foreign-jdk20.apijar | Bin 18785 -> 18785 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 3c087ebbf97..7cde53cdd12 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 b2ce3f750a9..8f4251045d5 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