---
spec: JLS
title: "The Java Language Specification"
edition: "Java SE 20 Edition"
java_version: 20
chapter: "Chapter 13. Binary Compatibility"
section: "13.4.5"
heading: "13.4.5. Class Type Parameters"
parent: "13.4. Evolution of Classes"
source: https://docs.oracle.com/javase/specs/jls/se20/html/jls-13.html#jls-13.4.5
id: "13.4.5"
url: https://jvm.obfuscated.software/jls/se20/13.4.5.html
raw: https://jvm.obfuscated.software/jls/se20/13.4.5.md
---

# 13.4.5. Class Type Parameters

Adding or deleting a type parameter of a class does not, in itself, have any implications for binary compatibility.

If such a type parameter is used in the type of a field or method, that may have the normal implications of changing the aforementioned type.

Renaming a type parameter of a class has no effect with respect to pre-existing binaries.

Changing the first bound of a type parameter of a class may change the erasure ([§4.6](4.6.md)) of any member that uses that type parameter in its own type, and this may affect binary compatibility. The change of such a bound is analogous to the change of the first bound of a type parameter of a method or constructor ([§13.4.13](13.4.13.md)).

Changing any other bound has no effect on binary compatibility.
