After run Java test case (TestNG
test, if it matters) in IDEA
, a file named .attach_pid<xxx>
(e.g .attach_pid16153) will be created, under project root.
They are still there even after test case finished.
And After a while, there will be a lot such files, and I have to remove them by hand.
The questions is:
This file appears because of the known Java bug.
The bug is already fixed for Java 12.
JetBrains developers have backported this fix into JetBrains Runtime and the fix is delivered in IntelliJ IDEA 2019.1 EAP version (to be released in the end of March 2019).
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With