There is a chance of a NullPointerException in RMIConnector, so add a null 
check on return result of FilterInfo.serialClass(). 

The API docs do state that result may be null, so this should be handled.  If a 
null is found, return Undecided.

---------
- [x] I confirm that I make this contribution in accordance with the [OpenJDK 
Interim AI Policy](https://openjdk.org/legal/ai).

-------------

Commit messages:
 - 8397572: RMIConnector needs to handle a possible null from 
FilterInfo.serialClass()

Changes: https://git.openjdk.org/jdk/pull/33939/files
  Webrev: https://webrevs.openjdk.org/?repo=jdk&pr=33939&range=00
  Issue: https://bugs.openjdk.org/browse/JDK-8397572
  Stats: 3 lines in 1 file changed: 3 ins; 0 del; 0 mod
  Patch: https://git.openjdk.org/jdk/pull/33939.diff
  Fetch: git fetch https://git.openjdk.org/jdk.git pull/33939/head:pull/33939

PR: https://git.openjdk.org/jdk/pull/33939

Reply via email to