dwing4g
dwing4g
``` package test; import java.util.concurrent.CompletableFuture; import com.ea.async.Async; public class TestAsync { public static CompletableFuture test() { for(;;) Async.await(new CompletableFuture()); } public static void main(String[] args) { Async.init(); } } ```...
在OpenJDK 11上启动firenio会提示这些警告, 好像是因为调用了非法的反射操作, 不过可以google到解决办法, 建议处理一下 > WARNING: An illegal reflective access operation has occurred > WARNING: Illegal reflective access by com.firenio.common.Unsafe (file: firenio-all-1.3.3.jar) to field java.util.concurrent.atomic.AtomicLong.VM_SUPPORTS_LONG_CAS > WARNING: Please consider...
always throw IOException: Address family not supported by protocol in Native.cpp: `int listenfd = socket(AF_INET6,SOCK_STREAM,0);` 现在仍然有很多服务器并没安装IPv6协议栈, 建议增加IPv4的支持.