8269336: Malformed jdk.serialFilter incorrectly handled

Reviewed-by: rriggs
This commit is contained in:
Jaikiran Pai 2021-10-20 15:10:28 +00:00
parent 043cde22d4
commit 35e5bb5f59
2 changed files with 90 additions and 1 deletions

View file

@ -636,7 +636,9 @@ public interface ObjectInputFilter {
filter = createFilter(filterString);
} catch (RuntimeException re) {
configLog.log(ERROR,
"Error configuring filter: {0}", re);
"Error configuring filter: {0}", (Object) re);
// Do not continue if configuration not initialized
throw re;
}
}
serialFilter = filter;