<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=us-ascii">
<style type="text/css" style="display:none;"> P {margin-top:0;margin-bottom:0;} </style>
</head>
<body dir="ltr">
<div class="elementToProof" style="font-family: Aptos, Aptos_EmbeddedFont, Aptos_MSFontService, Calibri, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
Hello Asva,</div>
<div class="elementToProof" style="font-family: Aptos, Aptos_EmbeddedFont, Aptos_MSFontService, Calibri, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
You can just file the issue to the tool component without a subcomponent, or to the core-libs component without a subcomponent.</div>
<div class="elementToProof" style="font-family: Aptos, Aptos_EmbeddedFont, Aptos_MSFontService, Calibri, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
<br>
</div>
<div class="elementToProof" style="font-family: Aptos, Aptos_EmbeddedFont, Aptos_MSFontService, Calibri, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
You described the exception to be from signature parsing; can you check the crashing class in the jar with javap and include just that crashing class in your bug report? That should be able to make a minimal reproduction case. Alternatively, you can post to
 classfile-api-dev list if you are sure this is a problem with the ClassFile API.</div>
<div class="elementToProof" style="font-family: Aptos, Aptos_EmbeddedFont, Aptos_MSFontService, Calibri, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
<br>
</div>
<div class="elementToProof" style="font-family: Aptos, Aptos_EmbeddedFont, Aptos_MSFontService, Calibri, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
Regards,</div>
<div class="elementToProof" style="font-family: Aptos, Aptos_EmbeddedFont, Aptos_MSFontService, Calibri, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
Chen Liang</div>
<div id="appendonsend"></div>
<hr style="display:inline-block;width:98%" tabindex="-1">
<div id="divRplyFwdMsg" dir="ltr"><font face="Calibri, sans-serif" style="font-size:11pt" color="#000000"><b>From:</b> discuss <discuss-retn@openjdk.org> on behalf of Asva Raten <nevuraketna@outlook.com><br>
<b>Sent:</b> Friday, October 4, 2024 3:22 PM<br>
<b>To:</b> discuss@openjdk.org <discuss@openjdk.org><br>
<b>Subject:</b> Re: There is a regression in JDK 23, but I cannot attach a jar at bugreport.java.com.</font>
<div> </div>
</div>
<style type="text/css" style="display:none">
<!--
p
        {margin-top:0;
        margin-bottom:0}
-->
</style>
<div dir="ltr">
<div style="direction:ltr; font-family:Aptos,Aptos_EmbeddedFont,Aptos_MSFontService,Calibri,Helvetica,sans-serif; font-size:12pt; color:black">
Thanks for replying.</div>
<div style="direction:ltr; font-family:Aptos,Aptos_EmbeddedFont,Aptos_MSFontService,Calibri,Helvetica,sans-serif; font-size:12pt; color:black">
<br>
</div>
<div style="direction:ltr; font-family:Aptos,Aptos_EmbeddedFont,Aptos_MSFontService,Calibri,Helvetica,sans-serif; font-size:12pt; color:black">
I forgot to mention, there is no way to specify the issue subcomponent as "jdeps" on the bugreport website. The issue actually seems to be with the new in preview Classfile API, which is used by jdeps in JDK 23 (the exception occurs in signature parsing), but
 there is no way to specify that either.</div>
<div style="direction:ltr; font-family:Aptos,Aptos_EmbeddedFont,Aptos_MSFontService,Calibri,Helvetica,sans-serif; font-size:12pt; color:black">
<br>
</div>
<div style="direction:ltr; font-family:Aptos,Aptos_EmbeddedFont,Aptos_MSFontService,Calibri,Helvetica,sans-serif; font-size:12pt; color:black">
Under which subcomponent am I supposed to file this report?</div>
<div style="direction:ltr; font-family:Aptos,Aptos_EmbeddedFont,Aptos_MSFontService,Calibri,Helvetica,sans-serif; font-size:12pt; color:black">
<br>
</div>
<div class="x_elementToProof" style="direction:ltr; font-family:Aptos,Aptos_EmbeddedFont,Aptos_MSFontService,Calibri,Helvetica,sans-serif; font-size:12pt; color:black">
The process to generate the jar for reproduction includes third-party software that needs to be downloaded and executed (proguard), is that okay? It becomes pretty complex and needs configuration as well and I fear that might discourage the bug report handlers.
 I thought just sending a jar would be easier, as it can be easily compared between jdeps of JDK 22 and jdeps of JDK 23. But if you want to I can write all the instructions to do it, the instructions would be for with the build tool that I use.</div>
<div class="x_elementToProof" style="direction:ltr; font-family:Aptos,Aptos_EmbeddedFont,Aptos_MSFontService,Calibri,Helvetica,sans-serif; font-size:12pt; color:black">
<br>
</div>
<div class="x_elementToProof" style="direction:ltr; font-family:Aptos,Aptos_EmbeddedFont,Aptos_MSFontService,Calibri,Helvetica,sans-serif; font-size:12pt; color:black">
P.S. I sent this email again because the first one went to the wrong place.<br>
<br>
<br>
<br>
</div>
<div class="x_elementToProof" style="font-family:Aptos,Aptos_EmbeddedFont,Aptos_MSFontService,Calibri,Helvetica,sans-serif; font-size:12pt; color:rgb(0,0,0)">
<br>
</div>
<div id="x_appendonsend"></div>
<hr tabindex="-1" style="display:inline-block; width:98%">
<div id="x_divRplyFwdMsg" dir="ltr"><font face="Calibri, sans-serif" color="#000000" style="font-size:11pt"><b>From:</b> discuss <discuss-retn@openjdk.org> on behalf of mandy.chung@oracle.com <mandy.chung@oracle.com><br>
<b>Sent:</b> Friday, October 4, 2024 7:12 PM<br>
<b>To:</b> discuss@openjdk.org <discuss@openjdk.org><br>
<b>Subject:</b> Re: There is a regression in JDK 23, but I cannot attach a jar at bugreport.java.com.</font>
<div> </div>
</div>
<div>
<p><br>
</p>
<div class="x_x_moz-cite-prefix">On 10/4/24 8:01 AM, Asva Raten wrote:<br>
</div>
<blockquote type="cite"><style type="text/css" style="display:none">
<!--
p
        {margin-top:0;
        margin-bottom:0}
-->
</style>
<div class="x_x_elementToProof" style="font-family:Aptos,Aptos_EmbeddedFont,Aptos_MSFontService,Calibri,Helvetica,sans-serif; font-size:12pt; color:rgb(0,0,0)">
I have a jar file that jdeps in JDK 22 can properly analyze and return correct results for, while jdeps in JDK 23 crashes for the exact same jar file. Now I don't know, there might be an issue with the jar file itself but since jdeps in JDK 22 can analyze it
 while jdeps in JDK 23 cannot, there is a change of behavior that I want to report. Maybe it is the new JDK's behavior that is incorrect in which case it should be fixed, or if it is correct then that should be documented in the release notes because it breaks
 backward compatibility.</div>
<div class="x_x_elementToProof" style="font-family:Aptos,Aptos_EmbeddedFont,Aptos_MSFontService,Calibri,Helvetica,sans-serif; font-size:12pt; color:rgb(0,0,0)">
<br>
</div>
<div class="x_x_elementToProof" style="font-family:Aptos,Aptos_EmbeddedFont,Aptos_MSFontService,Calibri,Helvetica,sans-serif; font-size:12pt; color:rgb(0,0,0)">
I was writing a report at bugreport.java.com, but there is no way to attach a jar file on there. The jar in question is an uber/fat/shaded jar that has been processed by an optimization tool, Proguard, so I don't want to inconvenience the JDK team with all
 the steps of making a fat jar with the library and running Proguard on it. I need to just attach a jar file for them to be able to debug it using jdeps.</div>
<div class="x_x_elementToProof" style="font-family:Aptos,Aptos_EmbeddedFont,Aptos_MSFontService,Calibri,Helvetica,sans-serif; font-size:12pt; color:rgb(0,0,0)">
<br>
</div>
<div class="x_x_elementToProof" style="font-family:Aptos,Aptos_EmbeddedFont,Aptos_MSFontService,Calibri,Helvetica,sans-serif; font-size:12pt; color:rgb(0,0,0)">
What should I do?</div>
</blockquote>
<p><br>
</p>
<p>Submitting the issue to bugreport.java.com  is the right way to do it.   Please include the steps of reproducing the issue that can help understanding what are involved.   The submitter will be contacted if we need more information or any files we may need.<br>
<br>
Mandy<br>
</p>
</div>
</div>
</body>
</html>