From 5f8e983a2cb896fea42e795fb419cd405f6fe7de Mon Sep 17 00:00:00 2001 From: Uwe Schindler Date: Thu, 9 Mar 2023 21:34:23 +0100 Subject: [PATCH] Adapt for Java 11 (add java.util.Objects) to signatures: Implement MMapDirectory with Java 20 Project Panama Preview API (#12188) --- .../panama-foreign/ExtractForeignAPI.java | 2 +- .../generated/jdk/panama-foreign-jdk19.apijar | Bin 20079 -> 20781 bytes .../generated/jdk/panama-foreign-jdk20.apijar | Bin 18785 -> 19487 bytes 3 files changed, 1 insertion(+), 1 deletion(-) diff --git a/gradle/generation/panama-foreign/ExtractForeignAPI.java b/gradle/generation/panama-foreign/ExtractForeignAPI.java index ca20528cac5..44253ea0122 100644 --- a/gradle/generation/panama-foreign/ExtractForeignAPI.java +++ b/gradle/generation/panama-foreign/ExtractForeignAPI.java @@ -48,7 +48,7 @@ public final class ExtractForeignAPI { } var outputPath = Paths.get(args[1]); var javaBaseModule = Paths.get(URI.create("jrt:/")).resolve("java.base").toRealPath(); - var fileMatcher = javaBaseModule.getFileSystem().getPathMatcher("glob:java/{lang/foreign/*,nio/channels/FileChannel}.class"); + var fileMatcher = javaBaseModule.getFileSystem().getPathMatcher("glob:java/{lang/foreign/*,nio/channels/FileChannel,util/Objects}.class"); try (var out = new ZipOutputStream(Files.newOutputStream(outputPath)); var stream = Files.walk(javaBaseModule)) { var filesToExtract = stream.map(javaBaseModule::relativize).filter(fileMatcher::matches).sorted().collect(Collectors.toList()); for (Path relative : filesToExtract) { diff --git a/lucene/core/src/generated/jdk/panama-foreign-jdk19.apijar b/lucene/core/src/generated/jdk/panama-foreign-jdk19.apijar index 3c087ebbf9735de859132b02d9b31ef47ba4eb42..c9b73d9193bfd419dfced6723bf41d624d226478 100644 GIT binary patch delta 708 zcmaDqhjHy9#trwJCU0eus26A8WXMV^OVlqd$;{FBPs&P7E-BVa&PgmT4h>;tU~HIq zK5=evtiQ0Mh;8!)eNpd?8g&aAoU~_MRqtJ^vV?InZ{ra&yAzi;$lh*zn{#)r>MQ#X z`ad7=e{h#fPhZ}BAvgQRn`h_tKEG#Ne(uiSzt5lRGpzqOC*fhsyg=wI_V87@A?VlmOe^7`gW@O_nPx6j>&Jf{i?EWKXmcZ zwnGOGJgq!uWKt(O4{4QpGfSTpqPB{rQ!1{VzS?+Cag=keKAL@wBY>r zU%BTUBv~`pOi7T+{P~iH5XYtl#!WF{D0We(e)R`?8yUM%|2Y ziENuY<{5pO;q12d(+R2B!SWxNS!1sMLbN{kGr8a^8T+c1PaiQ$; zjna^yqE%|@n|^Qyc(Zc|87wtXVq#!;z`FUCQzQ4}4{m%R2r&i*P-;VfJ5CG)(_Vl# SD;r3M0uY|&W?=Af1@Qp+R7QRP delta 35 lcmZ3xi1Ga##trwJHv75Oa*MFCF#v%)5Y}=tFx+th@c_?92z~$n diff --git a/lucene/core/src/generated/jdk/panama-foreign-jdk20.apijar b/lucene/core/src/generated/jdk/panama-foreign-jdk20.apijar index b2ce3f750a9c5f873a161d387717acea09caf692..03baf38a193814644351b6a2145e87ed70987b7c 100644 GIT binary patch delta 708 zcmaDjiE;i6#tmL}lS8Z}>cts28L|?~67@?o4pmV%vN{U(|b}M%{u2C+%5R)qB^fEMeTt+jzvx?!@H{vbP)G=G>jD`pW); z{?7;eAKWF=)0cN&$j!d-=GnQu&+i$RpS$z-@AK#S4C_D6NqE>YFHn2RovrnJ{r)qQ zn{_xG1KVS@cB#!dYTCr}TPVm};l`Rb@qR0M-B!)#;F3MYwtJb*^~H|sAC^iuTDC6C z5KeAafyxk-f3TUz7Wb;68J~B>vI-MzFK+qry%d{OPj5IJoNVSZa-@kSMN|; z+E)I5>7jo+5Anu&E`9!b^OaX`w=e#AyMAif?q&C`?E1ysn)CWqW&B;X?>8IO`JArL zUDwVjxTfd+_EmOFu2(F#?wD{!{L0pIzr;ijO%5sYkEova-XMBM%m(eu*;_sq)ktgd z?Apk~|7i2FzJ96gYa~_$?$S8FPI|-2yM98srH@jNzMbm+z2>}%WAdAAzpCup4_&;p z?a;vkPwUV4zfVY?756gb>)MKxlJ@rSClY%nC?+3#Y54q#nC!Qy3G0$>U(69JEja)E zSMGTSN!H9YQxc>yKfc$|$}wAgR%5lK{wLjgq9JV;>$m+;45?3;U;Bj7zU-!-Q8!~; zBHQMUc}AaRIJ>R=bV6!&u>1#R)|l)6c<-2$#odlRrk}(Z!E*je6`Sf){YTrPj@C&= zpGp(ix1?CSQ2pS$xI@zl{crz1W_RFlOS$XM{tp%(!%eU6+`sHksZHQN*K^BnTqwJI zqckL_XqB4!rXSn^-s~Jg21`wpm>3uyux@s