Skip to content

Commit

Permalink
Merge pull request #20330 from theresa-m/fix_13695
Browse files Browse the repository at this point in the history
Remove Class.asNullRestrictedType
  • Loading branch information
hangshao0 authored Oct 11, 2024
2 parents 24d59d6 + 609e4be commit edb9e2e
Showing 1 changed file with 0 additions and 9 deletions.
9 changes: 0 additions & 9 deletions jcl/src/java.base/share/classes/java/lang/Class.java
Original file line number Diff line number Diff line change
Expand Up @@ -2643,15 +2643,6 @@ public boolean isInterface() {
* @return true if receiver is an identity class, and false otherwise.
*/
public native boolean isIdentity();

/**
* Returns the Null-Restricted type of this class.
*
* @return Null-Restricted class
*/
public Class<?> asNullRestrictedType() {
return this;
}
/*[ENDIF] INLINE-TYPES */

/**
Expand Down

0 comments on commit edb9e2e

Please sign in to comment.