JDK-8250646 : hdiutil detach fix JDK-8245311 still fails sometimes
  • Type: Bug
  • Component: tools
  • Sub-Component: jpackage
  • Affected Version: 16
  • Priority: P4
  • Status: Resolved
  • Resolution: Fixed
  • Submitted: 2020-07-27
  • Updated: 2020-08-11
  • Resolved: 2020-08-05
The Version table provides details related to the release that this issue/RFE will be addressed.

Unresolved : Release in which this issue/RFE will be addressed.
Resolved: Release in which this issue/RFE has been resolved.
Fixed : Release in which this issue/RFE has been fixed. The release containing this fix may be available for download as an Early Access Release or a General Availability Release.

To download the current JDK release, click here.
JDK 16
16 b09Fixed
Related Reports
Relates :  
Description
It was noticed that JDK-8245311 fix did not work as expected. Repeated "hdiutil detach" failed after resource busy, because it was not able to find attached DMG image. So, I think we need ignore such error after resource busy, since it looks like that image get detach anyway even if it failed with resource busy initially.
Comments
URL: https://hg.openjdk.java.net/jdk/jdk/rev/16495b22bb4e User: almatvee Date: 2020-08-05 00:48:25 +0000
05-08-2020

http://cr.openjdk.java.net/~almatvee/8250646/webrev.02/ - DMG image can get detach even if "hdiutil detach" return resource busy error. Fixed by stopping trying detach if DMG already got detach.
04-08-2020