summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ChangeLog6
-rw-r--r--gnu/javax/security/auth/login/ConfigFileParser.java2
2 files changed, 7 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog
index cf339b705..df4640c3c 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,9 @@
+2006-06-09 Kazuya Ujihara <ujihara@aurora.dti.ne.jp>
+
+ PR classpath/27966:
+ * gnu/javax/security/auth/login/ConfigFileParser.java
+ (validateClassName): Quote '.' in regexp.
+
2006-06-09 Tom Tromey <tromey@redhat.com>
PR classpath/23863:
diff --git a/gnu/javax/security/auth/login/ConfigFileParser.java b/gnu/javax/security/auth/login/ConfigFileParser.java
index f6c39bb3d..1d692c098 100644
--- a/gnu/javax/security/auth/login/ConfigFileParser.java
+++ b/gnu/javax/security/auth/login/ConfigFileParser.java
@@ -264,7 +264,7 @@ public final class ConfigFileParser
if (cn.startsWith(".") || cn.endsWith("."))
abort("MODULE_CLASS MUST NOT start or end with a '.'");
- String[] tokens = cn.split(".");
+ String[] tokens = cn.split("\\.");
for (int i = 0; i < tokens.length; i++)
{
String t = tokens[i];