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

# 13.4.19. `static` Methods

If a method that is not declared `private` is also declared `static` (that is, a class method) and is changed to not be declared `static` (that is, to an instance method), or vice versa, then compatibility with pre-existing binaries may be broken, resulting in a linkage time error, namely an `IncompatibleClassChangeError`, if these methods are used by the pre-existing binaries. Such changes are not recommended in code that has been widely distributed.
