--- a/make/data/characterdata/CharacterData02.java.template Thu Sep 05 16:26:53 2019 -0700
+++ b/make/data/characterdata/CharacterData02.java.template Thu Sep 05 17:38:54 2019 -0700
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 2003, 2018, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 2003, 2019, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
* This code is free software; you can redistribute it and/or modify it
@@ -113,13 +113,14 @@
}
boolean isUnicodeIdentifierStart(int ch) {
- int props = getProperties(ch);
- return ((props & $$maskIdentifierInfo) == $$valueUnicodeStart);
+ return (getPropertiesEx(ch) & $$maskIDStart) != 0 ||
+ ch == 0x2E2F;
}
boolean isUnicodeIdentifierPart(int ch) {
- int props = getProperties(ch);
- return ((props & $$maskUnicodePart) != 0);
+ return (getPropertiesEx(ch) & $$maskIDContinue) != 0 ||
+ isIdentifierIgnorable(ch) ||
+ ch == 0x2E2F;
}
boolean isIdentifierIgnorable(int ch) {