The specification of ObjectInputStream constructors that invoke `ObjectInputFilter.Config.getSerialFilterFactory()` do not mention exceptions that may be thrown by the apply() method.
In both constructors, add the following to the paragraph the describes invoking the factory: * When the filter factory {@code apply} method is invoked it may throw a runtime exception * preventing the {@code ObjectInputStream} from being constructed. ------------- Commit messages: - 8278044: ObjectInputStream methods invoking the OIF.CFG.getSerialFilterFactory() silent about error cases. Changes: https://git.openjdk.java.net/jdk/pull/6704/files Webrev: https://webrevs.openjdk.java.net/?repo=jdk&pr=6704&range=00 Issue: https://bugs.openjdk.java.net/browse/JDK-8278044 Stats: 4 lines in 1 file changed: 4 ins; 0 del; 0 mod Patch: https://git.openjdk.java.net/jdk/pull/6704.diff Fetch: git fetch https://git.openjdk.java.net/jdk pull/6704/head:pull/6704 PR: https://git.openjdk.java.net/jdk/pull/6704