Comments (7)
This recent commit in OpenJDK8 changed InetAddress, it no longer has the addressCache/negativeCache fields.
from java-dns-cache-manipulator.
@arcuri82 @lameiro @GOODBOY008
fix this issue in release v1.8.0
:
https://github.com/alibaba/java-dns-cache-manipulator/releases/tag/v1.8.0
<dependency>
<groupId>com.alibaba</groupId>
<artifactId>dns-cache-manipulator</artifactId>
<version>1.8.0</version>
</dependency>
please upgrade version and check. 💕
from java-dns-cache-manipulator.
@arcuri82 Thanks for your report, I will troubleshoot and fix this issue these days.
Could you hold off upgrading zulu jdk 8 version for a few days? ❤️
from java-dns-cache-manipulator.
thx! btw, it is not about holding off upgrading, as that is the current default in GitHub Action when you use:
- name: Setup JDK 1.8 uses: actions/setup-java@v1 with: java-version: 1.8
How about setting a more precise java-version
(e.g. 8.0.345
)? @arcuri82
I have tried this, it seems working:
- commit: cb5ca86#diff-944291df2c9c06359d37cc8833d182d705c9e8c3108e7cfe132d61a06e9133ddR13
- GitHub Action job
JDK 8.0.345
https://github.com/alibaba/java-dns-cache-manipulator/actions/runs/3297915524/jobs/5439344792#step:4:10
But this leads to create a commit that shouldn't be needed. 😔
btw, rerun the java 8
ci job(auto upgrade jdk to zulu 1.8.0_352
),
reproduced this issue by blew failed job:
from java-dns-cache-manipulator.
@oldratlee thx! seems working ;)
from java-dns-cache-manipulator.
thx! btw, it is not about holding off upgrading, as that is the current default in GitHub Action when you use:
- name: Setup JDK 1.8
uses: actions/setup-java@v1
with:
java-version: 1.8
from java-dns-cache-manipulator.
@oldratlee I had compare different version of jdk1.8.
from java-dns-cache-manipulator.
Related Issues (20)
- Caused by: java.lang.ClassNotFoundException: java.net.InetAddress$CachedAddresses HOT 5
- child class java.net.InetAddress$NameServiceAddresses for class InetAddress.Addresses should never happens HOT 4
- Support for JDK 21
- Support config file name setting by -D option
- use specification test framework(BDD) rewrite unit test HOT 1
- 使用SSM整合HttpClient,使用工具包设置DNS,打印出来的DNS为最新的,但是请求时调用的DNS为缓存的设置 HOT 3
- 多个jvm进程怎么共享一个dns?
- how to share dns in all jvm process? HOT 1
- Support JDK 11 HOT 10
- 可以使用这个开发成1个dns服务器 HOT 1
- 什么时候可以支持 JKD 11 呢 HOT 2
- Fix "argument_count" issue in tool/src/main/java/com/alibaba/dcm/tool/DcmTool.java
- Fix "similar-code" issue in library/src/main/java/com/alibaba/dcm/agent/DcmAgent.java
- Fix "identical-code" issue in library/src/main/java/com/alibaba/dcm/internal/InetAddressCacheUtilForJava8Minus.java
- Fix initFieldsOfInetAddressCachePolicy method issue in library/src/main/java/com/alibaba/dcm/internal/InetAddressCacheUtilCommons.java
- Fix "method_complexity" issue in library/src/main/java/com/alibaba/dcm/internal/InetAddressCacheUtilForJava8Minus.java
- Fix Method inetAddress$Addresses2DnsCacheEntry issue in InetAddressCacheUtilForJava9Plus
- Fix "squid:S00112" issue in library/src/main/java/com/alibaba/dcm/agent/DcmAgent.java
- jdk11支持吗
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from java-dns-cache-manipulator.