[MINOR] Java 25 - A restricted method in java.lang.System has been called
维护者通常 3 天内回复
还没有人认领这个 Issue。
评估
调研方向
首先将 Java 25 警告追踪到 io.questdb.client.std.Os 以及其在 questdb-client 1.2.0 中对 java.lang.System::load 的调用。使用 Debian trixie 上的 QuestDB 7.3.5 重现该警告,然后检查客户端的本机加载路径。完成的标准是:客户端在 Java 25 下不再发出受限方法警告,同时不破坏本机加载。
由索引模型根据 Issue 内容生成。
描述
To reproduce
Starting with Java 25 I receive the following message once. There are no problems on using the code, however,
WARNING: A restricted method in java.lang.System has been called
WARNING: java.lang.System::load has been called by io.questdb.client.std.Os in an unnamed module (file:/home/jboss/lib/main/org.questdb.questdb-client-1.2.0.jar)
WARNING: Use --enable-native-access=ALL-UNNAMED to avoid a warning for callers in this module
WARNING: Restricted methods will be blocked in a future release unless native access is enabled
There are reports on this for other libraries too, like here https://github.com/jline/jline3/issues/1067#issuecomment-2571591690
questdb-client is 1.2.0
QuestDB version:
7.3.5
OS, in case of Docker specify Docker and the Host OS:
debian trixie
File System, in case of Docker specify Host File System:
ext4
Full Name:
Marco Descher
Affiliation:
n/a
Have you followed Linux, MacOs kernel configuration steps to increase Maximum open files and Maximum virtual memory areas limit?
- Yes, I have
Additional context
No response
- 主要语言
- Java
- 星标
- 10
- 派生
- 6
- 平均合并
- 6 天 19 小时
- 30 天内合并 PR
- 4
环境准备
- 没有 Dockerfile 或 Docker Compose 文件
- 没有 Pull Request 模板
- 阅读贡献指南
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
questdb/java-questdb-client 的其他 Issue
-
bug QWP
难度 4/5 3-5 天 新手友好度 42/100
questdb/java-questdb-client#100 · 1 条评论 ·
维护者通常 3 天内回复
-
Sender has no dateColumn() setter for DATE columns可能重新可做 @dhruv-creates69 于 15 天前认领,目前没有进行中的 PR。 未关闭enhancement
难度 3/5 1-2 天 新手友好度 72/100
questdb/java-questdb-client#83 · 1 条评论 ·
维护者通常 3 天内回复
-
InternalError thrown from MmapSegmentRecoveryFaultTest.testScanFaultOnMapPastEofIsHandledAnyFilesystem()可能重新可做 关联的 PR 已关闭且未合并。 未关闭bug
难度 4/5 3-5 天 新手友好度 48/100
questdb/java-questdb-client#69 ·
维护者通常 3 天内回复
查看 questdb/java-questdb-client 的全部 Issue
相似的 Issue
-
RRateLimiter acquire methods accept negative permits and raise available permits above the rate.可能已有人在做 关联的 PR 仍在进行中或已合并。 未关闭
难度 2/5 1-3 小时 新手友好度 72/100
维护者通常 4 天内回复
-
难度 1/5 1 小时以内 新手友好度 75/100
krahets/hello-algo#1993 ·
-
难度 2/5 1-3 小时 新手友好度 62/100
NationalSecurityAgency/ghidra#9884 ·
维护者通常 2 天内回复
-
Status: Pending Review Type: Feature Request
难度 1/5 1 小时以内 新手友好度 82/100
OpenRefine/OpenRefine#8019 ·
维护者通常 1 天内回复
-
[TEMP] pin maven version to 3.9.x可能已有人在做 @petrenyi-mark 今天认领。 未关闭
难度 2/5 1 小时以内 新手友好度 62/100