servicecomb-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From wjm wjm <zzz...@gmail.com>
Subject problem of latest IntelliJ(ideaIU-2018.2.5)
Date Thu, 25 Oct 2018 17:19:08 GMT
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

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message