> 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.

Roger Riggs has updated the pull request with a new target base due to a merge 
or a rebase. The pull request now contains four commits:

 - Merge branch 'master' into 8278044-factory-runtime-exceptions
 - Merge branch 'master' into 8278044-factory-runtime-exceptions
 - Clarified that a runtime exception may be thrown by the filter factory 
returned from `ObjectInputFilter.Config.getSerialFilterFactory()`
   not by the `getSerialFilterFactory` method.
 - 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=02
  Stats: 8 lines in 1 file changed: 6 ins; 0 del; 2 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

Reply via email to