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

# 13.4.10. `static` Fields

If a field that is not declared `private` was not declared `static` and is changed to be declared `static`, or vice versa, then a linkage error, specifically an `IncompatibleClassChangeError`, will result if the field is used by a pre-existing binary which expected a field of the other kind. Such changes are not recommended in code that has been widely distributed.
