My Oracle Support Banner

“java.lang.IllegalAccessError: superclass access check failed” Exception for sun.rmi.server Package (Doc ID 2923844.1)

Last updated on JANUARY 18, 2024

Applies to:

Java SE JDK and JRE - Version 9 and later
Information in this document applies to any platform.

Symptoms

When attempting to upgrade an application to Java 9 or above with with the sun.rmi.server.UnicastRef class extended the following error occurs:

 

Changes

Java has been upgraded from Java 8 to Java 9 or above.

Cause

To view full details, sign in with your My Oracle Support account.

Don't have a My Oracle Support account? Click to get started!


In this Document
Symptoms
Changes
Cause
Solution


My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.