Open pooja0805 opened 1 year ago
@headius Could you please have a look at this issue?
This appear to be ok on Java 8 but failing on Java 17+, probably due to module changes preventing reflective access to things the tests need to access (FileDescriptor internals, for example). The tests should be modified to open up the necessary classes by passing --add-opens
into the Maven surefire task.
Could be a nice PR, want to try it?
@headius Thank you for your suggestion. It's interesting to note that the error mentioned above is not limited to Java 11 but also occurs with Java 8.
@headius Could you please provide your insights on this matter?
I have still been unable to reproduce this. Perhaps you could put together a container image that reproduces it and I can try running that locally?
All tests pass for me on Fedora Linux on x86_64.
Hello,
I've encountered 4 test failures while executing the test suite for jnr-posix v3.1.16 using the command
mvn test
. The specific errors can be found in the log provided below:These test failures have been observed on both UBI 8.7 and Ubuntu distributions. I kindly request your assistance in investigating these issues.
Steps to reproduce the error: