SSL wizard: Start of POST handling

Work around Jetty XML bug
classpath fixes to follow
This commit is contained in:
zzz
2018-04-28 22:07:14 +00:00
parent a0fabe5f92
commit e310588273
4 changed files with 122 additions and 5 deletions

View File

@@ -120,6 +120,12 @@ public class JettyXmlConfigurationParser
if (aname != null && aname.toLowerCase(Locale.US).equals(nameLC)) {
// Node doesn't support set() or remove() but it does have clear()
n.clear();
// work around bug in XmlParser.Node.add(int, Object)
// where it will AIOOBE when calling add(String) after clear() after add(String)
// because the _lastString field isn't reset to false
// so we need to add a non-String object and then clear again.
n.add(Integer.valueOf(0));
n.clear();
n.add(value);
return true;
}