Open LXY1226 opened 1 year ago
It looks like Wisp2 actively prevents any custom SocketImpl
implementations; see their Socket.java implementation here
Without having looked too deeply, I think dragonwell could change their Socket
implementation in a way that checks if the subclass actually exposes a SocketChannel
(i.e., Socket#getChannel() != null
) and use that one with WispSocketImpl
as if that Socket
had been constructed with that SocketChannel
.
Before committing any further resources, I assume it's no longer important since appears Wisp2 development has stalled, right? At least I can't find any references in dragonwell17.
Description Wanna to get a unix socket program work with wisp2 and found it says like:
Steps to Reproduce Steps to reproduce the behavior:
./dragonwell-11.0.18.14+9-GA/bin/java -XX:+UnlockExperimentalVMOptions -XX:+UseWisp2 -jar junixsocket-selftest-2.6.2-jar-with-dependencies.jar
Expected behavior All tests passed like it without
-XX:+UseWisp2
JDK version
Execution environment
Intel(R) Xeon(R) CPU E5-2620 v2 @ 2.10GHz
Inside Linux container? yes
some tipful info from junixsocket