<meta http-equiv="Content-Type" content="text/html; charset=utf-8"><div id="imail_signature" class="ntes-signature"> <a href="https://dashi.163.com/projects/signature-manager/detail/index.html?ftlId=1&name=luke.k.xu%40hotmail.com&uid=luke.k.xu%40hotmail.com&iconUrl=https%3A%2F%2Fmail-online.nosdn.127.net%2Fqiyelogo%2FdefaultAvatar.png&email=%E9%82%AE%E7%AE%B1%EF%BC%9Aluke.k.xu%40hotmail.com&items=%5B%22%E9%82%AE%E7%AE%B1%EF%BC%9Aluke.k.xu%40hotmail.com%22%5D" style="display:block;background:#fff; max-width: 400px; _width: 400px;padding:15px 0 10px 0;text-decoration: none; outline:none;-webkit-tap-highlight-color:transparent;-webkit-text-size-adjust:none !important;text-size-adjust:none !important;">
<table cellpadding="0" style="width: 100%; max-width: 100%; table-layout: fixed; border-collapse: collapse;color: #9b9ea1;font-size: 14px;line-height:1.3;-webkit-text-size-adjust:none !important;text-size-adjust:none !important;">
<tbody style="font-family: 'PingFang SC', 'Hiragino Sans GB','WenQuanYi Micro Hei', 'Microsoft Yahei', '微软雅黑', verdana !important; word-wrap:break-word; word-break:break-all;-webkit-text-size-adjust:none !important;text-size-adjust:none !important;">
<tr>
<td width="38" style="padding:0; box-sizing: border-box; width: 38px;">
<img width="38" height="38" style="vertical-align:middle; width: 38px; height: 38px; border-radius:50%;" src="https://mail-online.nosdn.127.net/qiyelogo/defaultAvatar.png">
</td>
<td style="padding: 0 0 0 10px; color: #31353b;">
<div style="font-size: 16px;font-weight:bold; width:100%; white-space: nowrap; overflow:hidden;text-overflow: ellipsis;">luke.k.xu@hotmail.com</div>
</td>
</tr>
<tr width="100%" style="font-size: 14px !important; width: 100%;">
<td colspan="2" style="padding:10px 0 0 0; font-size:14px !important; width: 100%;">
<div style="width: 100%;font-size: 14px !important;word-wrap:break-word;word-break:break-all;">邮箱:luke.k.xu@hotmail.com</div>
</td>
</tr>
</tbody>
</table>
</a></div><br><br><br><div class="ntes-mailmaster-quote" style="padding-top: 1px; padding-bottom: 1px">
<div style=" margin-top: 20px; margin-bottom: 12px; font-size: 14px; line-height: 1.25; color: #89898c; ">---- 转发的邮件 ----</div>
<div style=" margin-bottom: 12px; font-size: 13px; line-height: 1.25; color: #2c2c2e; padding: 2px; border-radius: 8px; background-color: #f0f0f0; ">
<table width="100%" cellpadding="0" cellspacing="10" border="0">
<tr>
<td valign="top" style=" width: 4em; font-size: 13px; line-height: 1.25; color: #89898c; white-space: nowrap; ">发件人</td>
<td valign="top" style=" font-size: 13px; line-height: 1.25; color: #2c2c2e; word-break: break-all; "><a class="mail-from" style="color: #1c83eb; text-decoration: none" href="mailto:andrew.gross@oracle.com">Andrew H. Gross<andrew.gross@oracle.com></a></td>
</tr>
<tr>
<td valign="top" style=" width: 4em; font-size: 13px; line-height: 1.25; color: #89898c; white-space: nowrap; ">日期</td>
<td class="mail-date" valign="top" style=" font-size: 13px; line-height: 1.25; color: #2c2c2e; word-break: break-all; ">2023年09月30日 08:40</td>
</tr>
<tr style="">
<td valign="top" style=" width: 4em; font-size: 13px; line-height: 1.25; color: #89898c; ">收件人</td>
<td valign="top" style=" font-size: 13px; line-height: 1.25; color: #2c2c2e; word-break: break-all; "><a class="mail-to" style="color: #1c83eb; text-decoration: none" href="mailto:luke.k.xu@hotmail.com">许轲<luke.k.xu@hotmail.com></a></td>
</tr>
<tr style="">
<td valign="top" style=" width: 4em; font-size: 13px; line-height: 1.25; color: #89898c; ">抄送至</td>
<td valign="top" style=" font-size: 13px; line-height: 1.25; color: #2c2c2e; word-break: break-all; "><a class="mail-cc" style="color: #1c83eb; text-decoration: none" href="mailto:vuln-report@openjdk.org">vuln-report@openjdk.org</a></td>
</tr>
<tr>
<td valign="top" style=" width: 4em; font-size: 13px; line-height: 1.25; color: #89898c; ">主题</td>
<td class="mail-subject" valign="top" style=" font-size: 13px; line-height: 1.25; color: #2c2c2e; word-break: break-all; ">Re: Bug Report [jpackage Packaging Issue]</td>
</tr>
</table>
</div>
<div><!DOCTYPE html><html><head>
</head>
<div>
Hello,<br>
<br>
I read your problem description. As I understand it, this does not
appear to be a vulnerability.<br>
<br>
If you want to report a bug, then this site[0] is the best. This
mailing list[1] is the one that covers jpackage.<br>
<br>
Thank you,<br>
Andrew Gross<br>
---<br>
[0] <a class="moz-txt-link-freetext" href="https://bugreport.java.com/bugreport/">https://bugreport.java.com/bugreport/</a><br>
[1] <a class="moz-txt-link-abbreviated" href="mailto:core-libs-dev@openjdk.org">core-libs-dev@openjdk.org</a><br>
<br>
<br>
<div class="moz-cite-prefix">On 9/29/2023 10:12 AM, 许轲 wrote:<br>
</div>
<blockquote type="cite" cite="mid:TYZPR06MB4189FFD58A14561162CE45F8BEC0A@TYZPR06MB4189.apcprd06.prod.outlook.com">
<div style="font-family: 微软雅黑; font-size: 14px; line-height: 1.6;">
<div><a href="https://dashi.163.com/projects/signature-manager/detail/index.html?ftlId=1&name=luke.k.xu&uid=luke.k.xu%40hotmail.com&iconUrl=https%3A%2F%2Fmail-online.nosdn.127.net%2Fqiyelogo%2FdefaultAvatar.png&items=%5B%22luke.k.xu%40hotmail.com%22%5D" style="font-family: ''; line-height: 1.6; max-width: 400px; padding: 15px 0px 10px; text-decoration: none; outline: none; -webkit-tap-highlight-color: transparent; display: inline !important; background: rgb(255, 255, 255);" moz-do-not-send="true">check out the attachment for more
details</a><br>
</div>
<div><br>
</div>
<div>
<div style="color: #cccccc;background-color: #1f1f1f;font-family: Consolas, 'Courier New', monospace;font-weight: normal;font-size: 14px;line-height: 19px;white-space: pre;"><div><span style="color: #cccccc;">Subject: Bug Report: [jpackage Packaging Bug]</span></div>
<div><span style="color: #cccccc;">Dear OpenJDK Team,</span></div>
<div><span style="color: #cccccc;">I would like to report a bug I encountered while using OpenJDK. Below are the details of the issue:</span></div>
<div><span style="color: #cccccc;">**Problem Description:**</span></div>
<div><span style="color: #cccccc;">I'm attempting to package my JavaFX application, but when I reach the crucial step (jpackage), the packaging process does not behave as expected.</span></div>
<div><span style="color: #cccccc;">**Version Information:**</span></div>
<div><span style="color: #cccccc;">- OpenJDK version "21" 2023-09-19</span></div><div><span style="color: #cccccc;">- OpenJDK Runtime Environment (build 21+35-2513)</span></div><div><span style="color: #cccccc;">- OpenJDK 64-Bit Server VM (build 21+35-2513, mixed mode, sharing)</span></div>
<div><span style="color: #cccccc;">**Minimal Reproducible Example:**</span></div>
<div><span style="color: #cccccc;">MY project address: <a class="moz-txt-link-freetext" href="https://gitee.com/jcnc-org/JNotepad">https://gitee.com/jcnc-org/JNotepad</a></span></div>
<div><span style="color: #cccccc;">I'm trying to package my JavaFX application. First, I use jlink as follows:</span></div>
<div><span style="color: #cccccc;">```</span></div><div><span style="color: #cccccc;"><plugin></span></div><div><span style="color: #cccccc;"> <groupId>org.openjfx</groupId></span></div><div><span style="color: #cccccc;"> <artifactId>javafx-maven-plugin</artifactId></span></div><div><span style="color: #cccccc;"> <version>0.0.8</version></span></div><div><span style="color: #cccccc;"> <executions></span></div><div><span style="color: #cccccc;"> <execution></span></div><div><span style="color: #cccccc;"> <!-- Default configuration for running with: mvn clean javafx:run --></span></div><div><span style="color: #cccccc;"> <id>default-cli</id></span></div><div><span style="color: #cccccc;"> <configuration></span></div><div><span style="color: #cccccc;"> <mainClass>org.jcnc.jnotepad/org.jcnc.jnotepad.LunchApp</mainClass></span></div><div><span style="color: #cccccc;"> <launcher>JNotepad</launcher></span></div><div><span style="color: #cccccc;"> <jlinkImageName>JNotepad</jlinkImageName></span></div><div><span style="color: #cccccc;"> <noManPages>true</noManPages></span></div><div><span style="color: #cccccc;"> <stripDebug>true</stripDebug></span></div><div><span style="color: #cccccc;"> <noHeaderFiles>true</noHeaderFiles></span></div><div><span style="color: #cccccc;"> <compress>2</compress></span></div><div><span style="color: #cccccc;"> </configuration></span></div><div><span style="color: #cccccc;"> </execution></span></div><div><span style="color: #cccccc;"> </executions></span></div><div><span style="color: #cccccc;"></plugin></span></div><div><span style="color: #cccccc;">```</span></div>
<div><span style="color: #cccccc;">Then, when I use the following command:</span></div>
<div><span style="color: #cccccc;">```</span></div><div><span style="color: #cccccc;">jpackage `</span></div><div><span style="color: #cccccc;">--name JNotepad `</span></div><div><span style="color: #cccccc;">--type app-image `</span></div><div><span style="color: #cccccc;">-m org.jcnc.jnotepad/org.jcnc.jnotepad.LunchApp `</span></div><div><span style="color: #cccccc;">--runtime-image .\target\JNotepad\ `</span></div><div><span style="color: #cccccc;">--icon src/main/resources/img/icon.ico `</span></div><div><span style="color: #cccccc;">--app-version 1.1.13 `</span></div><div><span style="color: #cccccc;">--vendor "JCNC"</span></div><div><span style="color: #cccccc;">```</span></div>
<div><span style="color: #cccccc;">**Expected and Actual Behavior:**</span></div>
<div><span style="color: #cccccc;">jpackage fails to include the JNotepad.ico file in the folder.</span></div>
<div><span style="color: #cccccc;">- Failure Case (no JNotepad.ico):</span></div><div><span style="color: #cccccc;">
</span></div><div><img src="cid:part1.y4piYvaR.x30Salng@oracle.com" style="max-width: unset;" class="">
</div>
<div><span style="color: #cccccc;">- Expected Behavior (with Jdk 20 and earlier, where JNotepad.ico is included):</span></div><div>
</div><div><img src="cid:part2.dpUNtT63.0MEP1oRk@oracle.com" style="max-width: unset;" class="">
</div>
<div><span style="color: #cccccc;">**Error Logs:**</span></div>
<div><span style="color: #cccccc;">None</span></div>
<div><span style="color: #cccccc;">**Additional Context Information:**</span></div>
<div><span style="color: #cccccc;">This issue occurs with OpenJDK-17 or any JDK versions before 21. For example:</span></div>
<div><span style="color: #cccccc;"> openjdk version "17.0.2" 2022-01-18</span></div><div><span style="color: #cccccc;"> OpenJDK Runtime Environment (build 17.0.2+8-86)</span></div><div><span style="color: #cccccc;"> OpenJDK 64-Bit Server VM (build 17.0.2+8-86, mixed mode, sharing)</span></div>
<div><span style="color: #cccccc;">System Information:</span></div>
<div><span style="color: #cccccc;"> Hostname: LUKE</span></div><div><span style="color: #cccccc;"> OS Name: Microsoft Windows 11 Home Chinese Edition</span></div><div><span style="color: #cccccc;"> OS Version: 10.0.22621 Not Available Build 22621</span></div><div><span style="color: #cccccc;"> OS Manufacturer: Microsoft Corporation</span></div><div><span style="color: #cccccc;"> OS Configuration: Standalone Workstation</span></div><div><span style="color: #cccccc;"> OS Build Type: Multiprocessor Free</span></div><div><span style="color: #cccccc;"> Registered Owner: luke</span></div><div><span style="color: #cccccc;"> Registered Organization: Not Available</span></div><div><span style="color: #cccccc;"> Product ID: 00342-35838-97577-AAOEM</span></div><div><span style="color: #cccccc;"> Initial Install Date: March 14, 2023, 21:45:39</span></div><div><span style="color: #cccccc;"> System Boot Time: September 30, 2023, 0:11:06</span></div><div><span style="color: #cccccc;"> System Manufacturer: HUAWEI</span></div><div><span style="color: #cccccc;"> System Model: KLVC-WXX9</span></div><div><span style="color: #cccccc;"> System Type: x64-based PC</span></div><div><span style="color: #cccccc;"> Processor: 1 Processor Installed.</span></div><div><span style="color: #cccccc;"> [01]: Intel64 Family 6 Model 142 Stepping 12 GenuineIntel ~1803 Mhz</span></div><div><span style="color: #cccccc;"> BIOS Version: HUAWEI 1.30, February 16, 2022</span></div><div><span style="color: #cccccc;"> Windows Directory: C:\WINDOWS</span></div><div><span style="color: #cccccc;"> System Directory: C:\WINDOWS\system32</span></div><div><span style="color: #cccccc;"> Boot Device: \Device\HarddiskVolume1</span></div><div><span style="color: #cccccc;"> System Locale: zh-cn; Chinese (China)</span></div><div><span style="color: #cccccc;"> Input Locale: zh-cn; Chinese (China)</span></div><div><span style="color: #cccccc;"> Time Zone: (UTC+08:00) Beijing, Chongqing, Hong Kong SAR, Urumqi</span></div><div><span style="color: #cccccc;"> Total Physical Memory: 16,212 MB</span></div><div><span style="color: #cccccc;"> Available Physical Memory: 3,568 MB</span></div><div><span style="color: #cccccc;"> Virtual Memory: Maximum Size: 25,940 MB</span></div><div><span style="color: #cccccc;"> Virtual Memory: Available: 6,220 MB</span></div><div><span style="color: #cccccc;"> Virtual Memory: In Use: 19,720 MB</span></div><div><span style="color: #cccccc;"> Page File Location: C:\pagefile.sys</span></div><div><span style="color: #cccccc;"> Domain: WORKGROUP</span></div><div><span style="color: #cccccc;"> Logon Server: \\LUKE</span></div><div><span style="color: #cccccc;"> Hotfixes: 4 Hotfixes Installed.</span></div><div><span style="color: #cccccc;"> [01]: KB5029921</span></div><div><span style="color: #cccccc;"> [02]: KB5012170</span></div><div><span style="color: #cccccc;"> [03]: KB5030219</span></div><div><span style="color: #cccccc;"> [04]: KB5028756</span></div><div><span style="color: #cccccc;"> Network Cards: 4 Network Adapters Installed.</span></div><div><span style="color: #cccccc;"> [01]: Intel(R) Wireless-AC 9560 160MHz</span></div><div><span style="color: #cccccc;"> Connection Name: WLAN</span></div><div><span style="color: #cccccc;"> DHCP Enabled: Yes</span></div><div><span style="color: #cccccc;"> DHCP Server: 192.168.0.1</span></div><div><span style="color: #cccccc;"> IP Addresses</span></div><div><span style="color: #cccccc;"> [01]: 192.168.0.106</span></div><div><span style="color: #cccccc;"> [02]: fe80::b6da:a7b4:e0dc:3ef5</span></div><div><span style="color: #cccccc;"> [02]: Bluetooth Device (Personal Area Network)</span></div><div><span style="color: #cccccc;"> Connection Name: Bluetooth Network Connection</span></div><div><span style="color: #cccccc;"> Status: Media disconnected</span></div><div><span style="color: #cccccc;"> [03]: VirtualBox Host-Only Ethernet Adapter</span></div><div><span style="color: #cccccc;"> Connection Name: Ethernet 2</span></div><div><span style="color: #cccccc;"> DHCP Enabled: No</span></div><div><span style="color: #cccccc;"> IP Addresses</span></div><div><span style="color: #cccccc;"> [01]: 192.168.56.1</span></div><div><span style="color: #cccccc;"> [02]: fe80::20aa:46cf:9661:52f2</span></div><div><span style="color: #cccccc;"> [04]: Wintun Userspace Tunnel</span></div><div><span style="color: #cccccc;"> Connection Name: Clash</span></div><div><span style="color: #cccccc;"> DHCP Enabled: No</span></div><div><span style="color: #cccccc;"> IP Addresses</span></div><div><span style="color: #cccccc;"> [01]: 198.18.0.1</span></div><div><span style="color: #cccccc;"> Hyper-V Requirements: A virtual machine monitor program has been detected. Hyper-V features are not displayed.</span></div>
<div><span style="color: #cccccc;">**Steps:**</span></div>
<div><span style="color: #cccccc;">1. Run jlink.</span></div><div><span style="color: #cccccc;">2. Run jpackage.</span></div><div><span style="color: #cccccc;">3. Observe the bug.</span></div>
<div><span style="color: #cccccc;">This bug is consistently reproducible in my environment. Please let me know if you need any further information to investigate and resolve this issue. Thank you for your attention to this matter.</span></div>
<div><span style="color: #cccccc;">Sincerely,</span></div><div><span style="color: #cccccc;">Ke Xu</span></div><div><span style="color: #cccccc;">Email: <a class="moz-txt-link-abbreviated" href="mailto:luke.k.xu@hotmail.com">luke.k.xu@hotmail.com</a></span></div></div>
</div>
<div id="ntes-pcmac-signature" style="font-family:''" data-spelling-ignore="true">
<div style="font-size:14px; padding: 0; margin:0;">
<div style="padding-bottom:6px;margin-bottom:10px;display:inline-block;"><a href="https://dashi.163.com/projects/signature-manager/detail/index.html?ftlId=1&name=luke.k.xu&uid=luke.k.xu%40hotmail.com&iconUrl=https%3A%2F%2Fmail-online.nosdn.127.net%2Fqiyelogo%2FdefaultAvatar.png&items=%5B%22luke.k.xu%40hotmail.com%22%5D" style="display:block;background:#fff; max-width: 400px; _width: 400px;padding:15px 0 10px 0;text-decoration: none; outline:none;-webkit-tap-highlight-color:transparent;-webkit-text-size-adjust:none !important;text-size-adjust:none !important;" moz-do-not-send="true"><br>
</a> </div>
</div>
</div>
</div>
<!--😀-->
</blockquote>
<br>
</div>
</html>
</div>
</div>