Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.java.programmer > #39452
| Path | csiph.com!aioe.org!.POSTED.O5hsyUvK01te0L/SZurVSQ.user.gioia.aioe.org!not-for-mail |
|---|---|
| From | Arne Vajhøj <arne@vajhoej.dk> |
| Newsgroups | comp.lang.java.programmer |
| Subject | Re: Character.isIdentifierIgnorable |
| Date | Sat, 25 Apr 2020 13:51:22 -0400 |
| Organization | Aioe.org NNTP Server |
| Lines | 45 |
| Message-ID | <r81tau$1dq1$1@gioia.aioe.org> (permalink) |
| References | <r7vqa2$ekn$1@dont-email.me> <r7vqo0$15g0$1@gioia.aioe.org> <r7vv8t$8a7$1@dont-email.me> <r80097$r5a$1@gioia.aioe.org> <r800o5$fga$1@dont-email.me> <r80703$peb$1@gioia.aioe.org> <r80b7t$1us$1@dont-email.me> <r81q59$1r7i$2@gioia.aioe.org> <r81qd3$1np$1@gioia.aioe.org> <r81sls$lj1$1@dont-email.me> |
| 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:39452 |
Show key headers only | View raw
On 4/25/2020 1:39 PM, Jeff Higgins wrote: > On 4/25/20 1:01 PM, Arne Vajhøj wrote: >> On 4/25/2020 12:57 PM, Arne Vajhøj wrote: >>> On 4/24/2020 11:36 PM, Jeff Higgins wrote: >>>> from JLS-3.8 for JavaSE 9 >>>> Two identifiers are the same only if they are identical, that is, >>>> have the same >>>> Unicode character for each letter or digit. Identifiers that have >>>> the same external >>>> appearance may yet be different. >>>> >>>> from JLS-3.8 for JavaSE 10 >>>> Two identifiers are the same only if, after ignoring characters that >>>> are >>>> ignorable, the identifiers have the same Unicode character for each >>>> letter >>>> or digit. An ignorable character is a character for which the method >>>> Character.isIdentifierIgnorable(int) returns true. Identifiers that >>>> have the >>>> same external appearance may yet be different. >>> >>> But Java 8 javac did ignore them?? >> >> So does Java 7 javac. >> >> Java 6 javac gives me an error when trying to create the class file, >> which likely means that it is not ignoring these characters. >> > Thanks. I don't have earlier than 8 easily available. > Was wondering. > > I was wondering when Character,isIdentifierIgnorable(int codepoint) > became available. The earliest javadoc that i can find is 5 and is > available there. A Sun press release from 1997 features > "Global language support based on Unicode 2.0 standards" so maybe > available from then? http://www-evasion.imag.fr/Membres/Francois.Faure/enseignement/ressources/java/jdk1.3/api/index.html shows it in 1.3 and says "Since: JDK1.1". Arne
Back to comp.lang.java.programmer | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
Character.isIdentifierIgnorable Jeff Higgins <invalid@invalid.org> - 2020-04-24 18:46 -0400
Re: Character.isIdentifierIgnorable Arne Vajhøj <arne@vajhoej.dk> - 2020-04-24 18:54 -0400
Re: Character.isIdentifierIgnorable Martin Gregorie <martin@mydomain.invalid> - 2020-04-24 23:07 +0000
Re: Character.isIdentifierIgnorable Jeff Higgins <invalid@invalid.org> - 2020-04-24 20:12 -0400
Re: Character.isIdentifierIgnorable Arne Vajhøj <arne@vajhoej.dk> - 2020-04-24 20:29 -0400
Re: Character.isIdentifierIgnorable Jeff Higgins <invalid@invalid.org> - 2020-04-24 20:37 -0400
Re: Character.isIdentifierIgnorable Arne Vajhøj <arne@vajhoej.dk> - 2020-04-24 22:24 -0400
Re: Character.isIdentifierIgnorable Jeff Higgins <invalid@invalid.org> - 2020-04-24 23:36 -0400
Re: Character.isIdentifierIgnorable Arne Vajhøj <arne@vajhoej.dk> - 2020-04-25 12:57 -0400
Re: Character.isIdentifierIgnorable Arne Vajhøj <arne@vajhoej.dk> - 2020-04-25 13:01 -0400
Re: Character.isIdentifierIgnorable Jeff Higgins <invalid@invalid.org> - 2020-04-25 13:39 -0400
Re: Character.isIdentifierIgnorable Arne Vajhøj <arne@vajhoej.dk> - 2020-04-25 13:51 -0400
Re: Character.isIdentifierIgnorable Jeff Higgins <invalid@invalid.org> - 2020-04-25 14:36 -0400
Re: Character.isIdentifierIgnorable Jeff Higgins <invalid@invalid.org> - 2020-04-24 23:41 -0400
Re: Character.isIdentifierIgnorable Jeff Higgins <invalid@invalid.org> - 2020-04-24 20:25 -0400
Re: Character.isIdentifierIgnorable Arne Vajhøj <arne@vajhoej.dk> - 2020-04-24 20:32 -0400
Re: Character.isIdentifierIgnorable Jeff Higgins <invalid@invalid.org> - 2020-04-24 20:42 -0400
Re: Character.isIdentifierIgnorable Jeff Higgins <invalid@invalid.org> - 2020-04-25 09:53 -0400
Re: Character.isIdentifierIgnorable Arne Vajhøj <arne@vajhoej.dk> - 2020-04-25 12:55 -0400
Re: Character.isIdentifierIgnorable Jeff Higgins <invalid@invalid.org> - 2020-04-25 13:43 -0400
csiph-web