currently i'm using ideaIU-2018.1.4, there is no problem
but after upgrade to ideaIU-2018.2.5, java-chassis can not compiled, but no
problem when run mvn clean install in console out of IntelliJ.
i rollback to ideaIU-2018.1.4, but anybody know what happened in
ideaIU-2018.2.5?
problems:
1.NetUtils can not compile
public static boolean canTcpListen(InetAddress address, int port) {
try (ServerSocket ss = new ServerSocket(port, 0, address)) {
// to avoid latest IntelliJ compile warning
ss.getLocalPort();
return true;
} catch (IOException e) {
return false;
}
}
2.force to depend optional vertx-codegen, even report error after add the
dependency