<div dir="ltr">Great observation, I was wondering why that person sent a senseless response. This is indeed a bad-faith patch.<div>In addition, does ChatGPT usage violate the OpenJDK terms of use? Especially by sending licensed code to ChatGPT.</div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Wed, Apr 24, 2024 at 9:14 AM CC <<a href="mailto:4evnyuij@gmail.com">4evnyuij@gmail.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
<div>
<div name="messageBodySection">
<div dir="auto">I think this is a pretty low-quality submission with no real world impact. The nanosecond performance gain from using | instead of + while sacrificing that much readability is just not worth it.<br>
<br>
As well as that, the author used ChatGPT to answer this thread in the PR: <a href="https://github.com/openjdk/jdk/pull/18888#discussion_r1574853809" target="_blank">https://github.com/openjdk/jdk/pull/18888#discussion_r1574853809</a></div>
</div>
<div name="messageReplySection">Am 24. Apr. 2024, 15:00 +0200 schrieb Jesper Wilhelmsson <<a href="mailto:jesper.wilhelmsson@oracle.com" target="_blank">jesper.wilhelmsson@oracle.com</a>>:<br>
<blockquote type="cite" style="border-left:thin solid grey;margin:5px;padding-left:10px">
<div>Hi Yumfeil.</div>
<div><br></div>
<div>Welcome to OpenJDK!</div>
<div><br>
Please note that creating a PR is not the way to propose a change to OpenJDK. I would recommend that you read this as a start: <a href="https://openjdk.org/guide/#contributing-to-an-openjdk-project" target="_blank">https://openjdk.org/guide/#contributing-to-an-openjdk-project</a></div>
<div><br></div>
<div>
<div>
<div>Best regards,</div>
<div>/Jesper</div>
<div><br></div>
<div><br>
<blockquote type="cite">
<div>On Apr 24, 2024, at 14:45, 羽 <<a href="mailto:yfeil@qq.com" target="_blank">yfeil@qq.com</a>> wrote:</div>
<br>
<div>
pull request: <a href="https://github.com/openjdk/jdk/pull/18888" target="_blank">Update HashMap function resize() by Yumfeil · Pull Request #18888 · openjdk/jdk (github.com)</a>
<div><br></div>
<div>Please help, I need to create an "issue number"</div>
<div><br></div>
<div>Thanks!</div>
</div>
</blockquote>
</div>
<br></div>
</div>
</blockquote>
</div>
</div>
</blockquote></div>