§ 4.8.1 Static Constraints of the JVM spec says:
The value of the
code_length
item must be less than65536
.
So although it is a 4 byte value, it must not exceed 64k.
More Related Contents:
- ArrayOutOfBoundsException Error?
- When should we create our own Java exception classes? [closed]
- Why is a ConcurrentModificationException thrown and how to debug it
- How to read the value of a private field from a different class in Java?
- The difference between Classes, Objects, and Instances
- Java: how do I get a class literal from a generic type?
- Does python have an equivalent to Java Class.forName()?
- Exception thrown in catch and finally clause
- No-throw VirtualMachineError guarantees
- Use of class definitions inside a method in Java
- Scala equivalent of Java java.lang.Class Object
- Java: How can I access a class’s field by a name stored in a variable?
- Find a class somewhere inside dozens of JAR files?
- When to catch the Exception vs When to throw the Exceptions?
- Advantage of set and get methods vs public variable [duplicate]
- Exception NoClassDefFoundError for CacheProvider
- java.rmi.ConnectException: Connection refused to host: 127.0.1.1;
- Differences between Runtime/Checked/Unchecked/Error/Exception
- Android Unable to instantiate activity: Didn’t find class on path
- When to use an assertion and when to use an exception
- Which part of throwing an Exception is expensive?
- Why does Java throw NullPointerException here?
- How can I avoid ResultSet is closed exception in Java?
- While constructing the default constructor can not handle exception : type Exception thrown by implicit super constructor
- Why am I getting “must be caught or declared to be thrown” on my program?
- Inheritance in java and Superclasses(Object, Class)
- JavaFX Exception in thread “main” java.lang.NoClassDefFoundError: javafx/application/Application
- In Java, is using throws Exception instead of throwing multiple specific exceptions good practice?
- When to log a stacktrace for a caught exception
- Java Class.forName() from distant directory