On Tue, 17 Nov 2026 22:01:18 GMT, Kevin Walls <[email protected]> wrote:

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

Back refs is probably the main reason for serialClass to return null. It seems 
feasible to create a test but okay if you think it's not needed here.

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

PR Comment: https://git.openjdk.org/jdk/pull/33939#issuecomment-6981172570

Reply via email to