SocketReadInterruptTest and SocketAcceptInterruptTest failed on jdk16 all platforms except windows
- Dominant language
- HTML
- Stars
- 155
- Forks
- 346
- Avg merge
- 2d 9h
- Merged PRs (30d)
- 36
Description
**Describe the bug**
SocketReadInterruptTest and SocketAcceptInterruptTest failed on jdk16 all platforms except windows, for both hotspot and openj9.
**To Reproduce**
Steps to reproduce the behavior (or Grinder rerun link):
https://ci.adoptopenjdk.net/view/Test_grinder/job/Grinder/6520/testReport/junit/java_net_Socket_SocketReadInterruptTest/java/SocketReadInterruptTest/
https://ci.adoptopenjdk.net/view/Test_grinder/job/Grinder/6520/testReport/java_net_Socket_SocketAcceptInterruptTest/java/SocketAcceptInterruptTest/
**Additional context**
java/net/Socket/SocketReadInterruptTest
```
22:40:38 command: compile /home/jenkins/workspace/Grinder/openjdk-tests/openjdk/openjdk-jdk/test/jdk/java/net/Socket/SocketReadInterruptTest.java
22:40:38 reason: .class file out of date or does not exist
22:40:38 TEST RESULT: Error. Use -nativepath to specify the location of native code
```
java/net/Socket/SocketAcceptInterruptTest
```
22:40:38 command: compile /home/jenkins/workspace/Grinder/openjdk-tests/openjdk/openjdk-jdk/test/jdk/java/net/Socket/SocketAcceptInterruptTest.java
22:40:38 reason: .class file out of date or does not exist
TEST RESULT: Error. Use -nativepath to specify the location of native code
```
Contributor guide
Research direction
Start with java/net/Socket/SocketReadInterruptTest and java/net/Socket/SocketAcceptInterruptTest, then review the linked Grinder reports. Investigate why both tests request -nativepath on JDK 16 for non-Windows platforms and both HotSpot and OpenJ9. Done when the tests run successfully in those environments.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- java
- Domain
- testing-qa
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 35/100