<html><head><meta http-equiv="content-type" content="text/html; charset=utf-8"></head><body style="overflow-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;"><br id="lineBreakAtBeginningOfMessage"><div><br><blockquote type="cite"><div>On Oct 28, 2024, at 5:40 PM, Alexander Matveev <alexander.matveev@oracle.com> wrote:</div><br class="Apple-interchange-newline"><div><meta charset="UTF-8"><div class="WordSection1" style="page: WordSection1; caret-color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; font-style: normal; font-variant-caps: normal; font-weight: 400; letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration: none;"><div style="margin: 0in; font-size: 10pt; font-family: Aptos, sans-serif;"><span style="font-size: 12pt; font-family: Arial, sans-serif;">Hi Michael,<o:p></o:p></span></div><div style="margin: 0in; font-size: 10pt; font-family: Aptos, sans-serif;"><span style="font-size: 12pt; font-family: Arial, sans-serif;"><o:p> </o:p></span></div><div style="margin: 0in; font-size: 10pt; font-family: Aptos, sans-serif;"><span style="font-size: 12pt; font-family: Arial, sans-serif;">><span class="Apple-converted-space"> </span></span><span style="font-size: 11pt;">They would also, files in the app directory, all be automatically code signed I think wouldn’t they?<br></span><span style="font-size: 12pt; font-family: Arial, sans-serif;">Yes, files under app directory will be signed as well.<o:p></o:p></span></div><div style="margin: 0in; font-size: 10pt; font-family: Aptos, sans-serif;"><span style="font-size: 12pt; font-family: Arial, sans-serif;"><o:p> </o:p></span></div><div style="margin: 0in; font-size: 10pt; font-family: Aptos, sans-serif;"><span style="font-size: 12pt; font-family: Arial, sans-serif;">Thanks,<o:p></o:p></span></div><div style="margin: 0in; font-size: 10pt; font-family: Aptos, sans-serif;"><span style="font-size: 12pt; font-family: Arial, sans-serif;">Alexander<o:p></o:p></span></div></div></div></blockquote><br></div><div>Sorry, I was going to leave it at this but did a little more googling out of curiosity.</div><div><br></div><div><a href="https://bugs.openjdk.org/browse/JDK-8274717">https://bugs.openjdk.org/browse/JDK-8274717</a></div><div><br></div><div><a href="https://bugs.openjdk.org/browse/JDK-8274346">https://bugs.openjdk.org/browse/JDK-8274346</a></div><div><br></div><div>I am sort of gathering that this might make more sense on other platforms?</div><div><br></div><div>Putting files in an application Contents directory doesn’t seem like a sound practice to me. </div><div><br></div><div>Are you aware of any actual use cases of this? Maybe someone has a situation where this makes sense on MacOS but I am still not thinking of any.</div><div><br></div><div>The app directory provides a way to do usual java resource loading. There is no such normal provision for accessing something off of an Application's Contents directory that I am aware of.</div><div><br></div><div>--mac-dmg-content makes perfect sense for dmg’s.</div><div><br></div><div>I am not really familiar with package installs maybe it works better there?</div><div><br></div><div>For an application —app-image if you wanted to allow additional files I think they would be better off extermal to the application.</div><div><br></div><div>Maybe someplace like the ~/Library/Application\ Support directory.</div><div><br></div><div>Again maybe I’m missing something and this is commonly used functionality. If so, feel free to ignore this.</div><div><br></div><div><br></div><div><br></div><div><br></div><div><br></div><br></body></html>