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

# 13.4.2. `final` Classes

If a class that was not declared `final` is changed to be declared `final`, then a `VerifyError` is thrown if a binary of a pre-existing subclass of this class is loaded, because `final` classes can have no subclasses; such a change is not recommended for widely distributed classes.

Changing a class that is declared `final` to no longer be declared `final` does not break compatibility with pre-existing binaries.
