You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
* getCommonSuperClass may have problematic behavior during the weaving of ClassLoaders.
122
+
* It designates Object as the common supertype of all types, because we're actively hijacking the ClassLoaders at this time and the full class hierarchy may not be available.
123
+
*
124
+
* Starting in Java 24, a new class cast was introduced in ClassLoader.initSystemClassLoader that added a type check between Throwable and Exception. Because of the behavior
125
+
* described above, the common supertype of Throwable and Exception was designated Object by the agent. This led to a VerifyError.
126
+
*
127
+
* This method specifically handles that edge case to prevent the VerifyError for JDK24+.
0 commit comments