<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	
	>
<channel>
	<title>
	Comments on: Interesting change in calling methods in Java 17	</title>
	<atom:link href="https://www.selikoff.net/2022/05/21/interesting-change-in-calling-methods-in-java-17/feed/" rel="self" type="application/rss+xml" />
	<link>https://www.selikoff.net/2022/05/21/interesting-change-in-calling-methods-in-java-17/</link>
	<description>Java/J2EE Software Development and Technology Discussion Blog</description>
	<lastBuildDate>Thu, 30 Jun 2022 01:20:22 +0000</lastBuildDate>
	<sy:updatePeriod>
	hourly	</sy:updatePeriod>
	<sy:updateFrequency>
	1	</sy:updateFrequency>
	<generator>https://wordpress.org/?v=7.1.1</generator>
	<item>
		<title>
		By: Jeanne Boyarsky		</title>
		<link>https://www.selikoff.net/2022/05/21/interesting-change-in-calling-methods-in-java-17/comment-page-1/#comment-300735</link>

		<dc:creator><![CDATA[Jeanne Boyarsky]]></dc:creator>
		<pubDate>Thu, 30 Jun 2022 01:20:22 +0000</pubDate>
		<guid isPermaLink="false">https://www.selikoff.net/?p=15871#comment-300735</guid>

					<description><![CDATA[In reply to &lt;a href=&quot;https://www.selikoff.net/2022/05/21/interesting-change-in-calling-methods-in-java-17/comment-page-1/#comment-300666&quot;&gt;Georgi&lt;/a&gt;.

Georgi: Thank you! I didn&#039;t have time to log it. (I put on my list to look into how to report a bug in the JDK and hadn&#039;t gotten to it.) I appreciate that you did so now I no longer need to :).

I don&#039;t need credit. The key is that someone reported it!]]></description>
			<content:encoded><![CDATA[<p>In reply to <a href="https://www.selikoff.net/2022/05/21/interesting-change-in-calling-methods-in-java-17/comment-page-1/#comment-300666">Georgi</a>.</p>
<p>Georgi: Thank you! I didn&#8217;t have time to log it. (I put on my list to look into how to report a bug in the JDK and hadn&#8217;t gotten to it.) I appreciate that you did so now I no longer need to :).</p>
<p>I don&#8217;t need credit. The key is that someone reported it!</p>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		By: Georgi		</title>
		<link>https://www.selikoff.net/2022/05/21/interesting-change-in-calling-methods-in-java-17/comment-page-1/#comment-300666</link>

		<dc:creator><![CDATA[Georgi]]></dc:creator>
		<pubDate>Tue, 28 Jun 2022 11:02:51 +0000</pubDate>
		<guid isPermaLink="false">https://www.selikoff.net/?p=15871#comment-300666</guid>

					<description><![CDATA[I took the liberty to report it using your sample code. I hope you don&#039;t mind. I didn&#039;t find an appropriate place to credit you for finding it, I&#039;m sorry. I think it is important to do so because it is:

1) a change of behavior first and foremost
2) it is somehow not compliant with the rules and logic

I played a bit and it seems the varargs have something to do with it. It is what makes the method different and allow it to exist. Was it a static method with two int parameters, the compiler would have complained on all versions. But the compiler failing to recognize there is a static method to be called from a static context is the real issue at hand for me. So even if it was intentional, I think it is a problem that it tries to call the instance method rather than printing an error having two methods that resemble each other in such a way is not allowed.
Also it might have been a bug that it was compiling all along.

You can check it out here https://bugs.java.com/bugdatabase/view_bug.do?bug_id=JDK-8289277

Regards,
Georgi]]></description>
			<content:encoded><![CDATA[<p>I took the liberty to report it using your sample code. I hope you don&#8217;t mind. I didn&#8217;t find an appropriate place to credit you for finding it, I&#8217;m sorry. I think it is important to do so because it is:</p>
<p>1) a change of behavior first and foremost<br />
2) it is somehow not compliant with the rules and logic</p>
<p>I played a bit and it seems the varargs have something to do with it. It is what makes the method different and allow it to exist. Was it a static method with two int parameters, the compiler would have complained on all versions. But the compiler failing to recognize there is a static method to be called from a static context is the real issue at hand for me. So even if it was intentional, I think it is a problem that it tries to call the instance method rather than printing an error having two methods that resemble each other in such a way is not allowed.<br />
Also it might have been a bug that it was compiling all along.</p>
<p>You can check it out here <a href="https://bugs.java.com/bugdatabase/view_bug.do?bug_id=JDK-8289277" rel="nofollow ugc">https://bugs.java.com/bugdatabase/view_bug.do?bug_id=JDK-8289277</a></p>
<p>Regards,<br />
Georgi</p>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		By: Jeanne Boyarsky		</title>
		<link>https://www.selikoff.net/2022/05/21/interesting-change-in-calling-methods-in-java-17/comment-page-1/#comment-300546</link>

		<dc:creator><![CDATA[Jeanne Boyarsky]]></dc:creator>
		<pubDate>Sat, 25 Jun 2022 12:07:54 +0000</pubDate>
		<guid isPermaLink="false">https://www.selikoff.net/?p=15871#comment-300546</guid>

					<description><![CDATA[In reply to &lt;a href=&quot;https://www.selikoff.net/2022/05/21/interesting-change-in-calling-methods-in-java-17/comment-page-1/#comment-300378&quot;&gt;Joro&lt;/a&gt;.

No. I assumed it was intentional.]]></description>
			<content:encoded><![CDATA[<p>In reply to <a href="https://www.selikoff.net/2022/05/21/interesting-change-in-calling-methods-in-java-17/comment-page-1/#comment-300378">Joro</a>.</p>
<p>No. I assumed it was intentional.</p>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		By: Joro		</title>
		<link>https://www.selikoff.net/2022/05/21/interesting-change-in-calling-methods-in-java-17/comment-page-1/#comment-300378</link>

		<dc:creator><![CDATA[Joro]]></dc:creator>
		<pubDate>Tue, 21 Jun 2022 14:15:33 +0000</pubDate>
		<guid isPermaLink="false">https://www.selikoff.net/?p=15871#comment-300378</guid>

					<description><![CDATA[That must be a bug. Did you file it?]]></description>
			<content:encoded><![CDATA[<p>That must be a bug. Did you file it?</p>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		By: Jeanne Boyarsky		</title>
		<link>https://www.selikoff.net/2022/05/21/interesting-change-in-calling-methods-in-java-17/comment-page-1/#comment-299373</link>

		<dc:creator><![CDATA[Jeanne Boyarsky]]></dc:creator>
		<pubDate>Sun, 29 May 2022 01:16:30 +0000</pubDate>
		<guid isPermaLink="false">https://www.selikoff.net/?p=15871#comment-299373</guid>

					<description><![CDATA[In reply to &lt;a href=&quot;https://www.selikoff.net/2022/05/21/interesting-change-in-calling-methods-in-java-17/comment-page-1/#comment-299331&quot;&gt;Anshuman Birendranarayan Dubey&lt;/a&gt;.

Anshuman: Oracle runs a cert course. I imagine others have video tutorials as well.]]></description>
			<content:encoded><![CDATA[<p>In reply to <a href="https://www.selikoff.net/2022/05/21/interesting-change-in-calling-methods-in-java-17/comment-page-1/#comment-299331">Anshuman Birendranarayan Dubey</a>.</p>
<p>Anshuman: Oracle runs a cert course. I imagine others have video tutorials as well.</p>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		By: Anshuman Birendranarayan Dubey		</title>
		<link>https://www.selikoff.net/2022/05/21/interesting-change-in-calling-methods-in-java-17/comment-page-1/#comment-299331</link>

		<dc:creator><![CDATA[Anshuman Birendranarayan Dubey]]></dc:creator>
		<pubDate>Sat, 28 May 2022 04:48:09 +0000</pubDate>
		<guid isPermaLink="false">https://www.selikoff.net/?p=15871#comment-299331</guid>

					<description><![CDATA[Is there any Video Tutorials or Course specially for 1z0-819 or 1z0-829?]]></description>
			<content:encoded><![CDATA[<p>Is there any Video Tutorials or Course specially for 1z0-819 or 1z0-829?</p>
]]></content:encoded>
		
			</item>
	</channel>
</rss>
