Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8168293

CompilerControl: java.net.SocketException: Socket closed exception

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Duplicate
    • Icon: P4 P4
    • 10
    • 9
    • hotspot

      java.lang.Error: Failed to write data: Socket closed
      at compiler.compilercontrol.share.scenario.Executor.connectTestVM(Executor.java:147)
      at compiler.compilercontrol.share.scenario.Executor.lambda$execute$0(Executor.java:98)
      at java.lang.Thread.run(java.base@9-internal/Thread.java:843)
      Caused by: java.net.SocketException: Socket closed
      at java.net.PlainSocketImpl.socketAccept(java.base@9-internal/Native Method)
      at java.net.AbstractPlainSocketImpl.accept(java.base@9-internal/AbstractPlainSocketImpl.java:459)
      at java.net.ServerSocket.implAccept(java.base@9-internal/ServerSocket.java:551)
      at java.net.ServerSocket.accept(java.base@9-internal/ServerSocket.java:519)
      at compiler.compilercontrol.share.scenario.Executor.connectTestVM(Executor.java:126)
      happened again in test execution.

      There are no obvious reason of these failures. It's possible that the test VM haven't started or exited with 0 exitcode before the connection. Such behaviour should not have been caused by the test itself. But test doesn't give enough information about.

            Unassigned Unassigned
            ppunegov Pavel Punegov
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: