Path: csiph.com!aioe.org!.POSTED.O5hsyUvK01te0L/SZurVSQ.user.gioia.aioe.org!not-for-mail From: =?UTF-8?Q?Arne_Vajh=c3=b8j?= Newsgroups: comp.lang.java.programmer Subject: Re: Character.isIdentifierIgnorable Date: Fri, 24 Apr 2020 20:32:38 -0400 Organization: Aioe.org NNTP Server Lines: 40 Message-ID: References: NNTP-Posting-Host: O5hsyUvK01te0L/SZurVSQ.user.gioia.aioe.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 8bit X-Complaints-To: abuse@aioe.org User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:68.0) Gecko/20100101 Thunderbird/68.7.0 X-Notice: Filtered by postfilter v. 0.9.2 Content-Language: en-US Xref: csiph.com comp.lang.java.programmer:39440 On 4/24/2020 8:25 PM, Jeff Higgins wrote: > On 4/24/20 6:54 PM, Arne Vajhøj wrote: > >>> Where exactly in the Java environment (tools, language, standard >>> libraries, etc.) are two identifiers checked according to the above >>> specification? >>> >>> For instance I can do: >>> >>> class IdentifierTest { >>>    class _\u0001 {} >>>    class _\u0001\u0001 {} >>> } >>> >>> and javac doesn't complain >> >> My javac complains. >> >> :-) > Anyways, thanks for the answer to above. > > Now, just to figure out why Eclipse is happy with above. Eclipse comes with its own Java compiler - I am not quite sure how much if at all it relies on the JDK tools.jar. Different implementation of a compiler can behave differently. Any differences in normal code will be found pretty quickly. But differences in funky code may go undetected for years. Arne