File tree Expand file tree Collapse file tree 1 file changed +3
-4
lines changed
byte-buddy-agent/src/main/java/net/bytebuddy/agent Expand file tree Collapse file tree 1 file changed +3
-4
lines changed Original file line number Diff line number Diff line change @@ -564,11 +564,10 @@ public Connection connect(String processId) throws IOException {
564564 throw new IllegalStateException ("Could not create attach file: " + attachFile );
565565 }
566566 }
567- // Keep canonical file for cleanup in case target process ends and /proc/<pid>/cwd link disappears
568- try {
567+ try { // Keep canonical file for cleanup in case target process ends and /proc/<pid>/cwd link disappears
569568 attachFile = attachFile .getCanonicalFile ();
570- } catch (IOException ignored ){
571- // Ignore exception if canonical file cannot be resolved
569+ } catch (IOException ignored ) {
570+ /* do nothing */
572571 }
573572 try {
574573 kill (processId , 3 );
You can’t perform that action at this time.
0 commit comments