On Thu, 28 May 2026 00:44:39 GMT, Alexander Matveev <[email protected]> 
wrote:

> - Fixed by ignoring ".BC.*" temp file which is transient Finder metadata.
> 
> ---------
> - [x] I confirm that I make this contribution in accordance with the [OpenJDK 
> Interim AI Policy](https://openjdk.org/legal/ai).

I think it is not clear if file gets added to DMG image when it is created or 
if it was added to unpack folder when DMG was unpacked. I tried to reproduce 
this issue many times and so far was not able to reproduce it. What is you 
suggestion? Technically it can be added when we prepared image, during it was 
copied to DMG or when osascript was running.

One possible solution is to ignore it during unpacking and verify read-only DMG 
image after we created it to make sure this file does not exist and if exist 
then remove it from DMG after converting it to write-read and keep doing until 
this file is gone.

-------------

PR Comment: https://git.openjdk.org/jdk/pull/31304#issuecomment-4570817366

Reply via email to