What is Verification in Java?

  • Duke, the Java Mascot, in the waving pose. Duk...

    Duke-Java Mascot

    Verification of byte code is a step performed by the JVM before it runs any class file to ensure that the class file is structurally and conceptually correct as per the JVM specification.

  • If the class file fails this check, it is rejected and the JVM shuts down, indicating either security or integrity violation of the class file.
  • This verification is done by all JVMs.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )


Connecting to %s