The Artima Developer Community
Sponsored Link

Java Buzz Forum
Why CAFEBABE?

0 replies on 1 page.

Welcome Guest
  Sign In

Go back to the topic listing  Back to Topic List Click to reply to this topic  Reply to this Topic Click to search messages in this forum  Search Forum Click for a threaded view of the topic  Threaded View   
Previous Topic   Next Topic
Flat View: This topic has 0 replies on 1 page
Goldy Lukka

Posts: 1008
Nickname: xyling
Registered: Jan, 2004

Goldy Lukka is a Java Developer and an Entrepreneur. He is Founder of xyling.com.
Why CAFEBABE? Posted: Aug 1, 2004 11:39 PM
Reply to this message Reply

This post originated from an RSS feed registered with Java Buzz by Goldy Lukka.
Original Post: Why CAFEBABE?
Feed Title: Xyling Java Blogs
Feed URL: http://www.javablogs.xyling.com/thisWeek.rss
Feed Description: Your one stop source for Java Related Resources.
Latest Java Buzz Posts
Latest Java Buzz Posts by Goldy Lukka
Latest Posts From Xyling Java Blogs

Advertisement
If you have ever read the Java VM Specs and the class file format specifically, you know what I am talking about.

For others, they must have, atleast once in their lifetime, have come across the mighty error "The Magic Numbers Did Not Match".

Each class file in Java, has a related Structure(C programming lang.) internally. The first field of this Structure is a MAGIC NUMBER which defaults to 0xCAFEBABE.

The purpose of a magic number is to help tools quickly differentiate likely class files from non class files.

Those who are wondering, why the default CAFEBABE, may link to resource for some insight from the community members.

[Resource-Type: Weblink; Category: Java/VM; XRating: 4]

Read: Why CAFEBABE?

Topic: Re: Dumb User (was Re: Linux's Curse) Previous Topic   Next Topic Topic: Re: Shilling for the Product

Sponsored Links



Google
  Web Artima.com   

Copyright © 1996-2019 Artima, Inc. All Rights Reserved. - Privacy Policy - Terms of Use