Hi !
Featured games (85)
games approved by the League of Dukes
Games in Showcase (636)
Games in Android Showcase (178)
games submitted by our members
Games in WIP (688)
games currently in development
News: Read the Java Gaming Resources, or peek at the official Java tutorials
    Home     Help   Search   Login   Register   
Pages: [1]
  ignore  |  Print  
  Did you know...?  (Read 2232 times)
0 Members and 2 Guests are viewing this topic.
Offline blahblahblahh

JGO Coder

Medals: 1

« Posted 2003-11-12 07:07:52 »

"...the JVM doesn't just load the byte codes and run them. Instead, the virtual machine must verify the byte codes with something called a byte code verifier.
In addition, the verifier ensures the first four bytes of the file are 0xCAFEBABE."


malloc will be first against the wall when the revolution comes...
Offline Herkules

Senior Devvie

Friendly fire isn't friendly!

« Reply #1 - Posted 2003-11-12 07:34:34 »

Truth or a joke?


HARDCODE    --     DRTS/FlyingGuns/JPilot/JXInput  --    skype me: joerg.plewe
Offline Matzon

JGO Knight

Medals: 19
Projects: 1

I'm gonna wring your pants!

« Reply #2 - Posted 2003-11-12 07:49:49 »

Truth, open .class file with hexeditor

Games published by our own members! Check 'em out!
Legends of Yore - The Casual Retro Roguelike
Offline Markus_Persson

JGO Wizard

Medals: 19
Projects: 19

Mojang Specifications

« Reply #3 - Posted 2003-11-12 07:59:37 »

Hah, I DID know that. =D

And if you've read the jvms, so should you. Wink

Play Minecraft!
Offline sugarshark

Junior Devvie

Sugar to the sharks.

« Reply #4 - Posted 2003-11-12 08:20:05 »

Where's the news?  Tongue

I used to think that the brain was the most wonderful organ in my body.  
Then I realized who was telling me this.
-- Emo Phillips
Offline Jeff

JGO Coder

Got any cats?

« Reply #5 - Posted 2003-11-12 20:13:17 »

Pretty old news to some of us, sorry.

CAFEBABE is the "magic number" the Vm uses as a first quick check that what you are loading is a class file.

Got a question about Java and game programming?  Just new to the Java Game Development Community?  Try my FAQ.  Its likely you'll learn something!
Offline Herkules

Senior Devvie

Friendly fire isn't friendly!

« Reply #6 - Posted 2003-11-13 04:57:00 »

Ok ok - I admit I am a newbie.

HARDCODE    --     DRTS/FlyingGuns/JPilot/JXInput  --    skype me: joerg.plewe
Offline Preston

Senior Devvie

Medals: 4

« Reply #7 - Posted 2003-11-13 05:25:13 »

"(..)In addition, the verifier ensures the first four bytes of the file are 0xCAFEBABE."

Nice. :-)
Remembers me to the good old days on the homecomputers where we "signed" our small assembler routines with similar stuff: 0xDEADBEEF comes to mind. ;-)
Offline cfmdobbie

Senior Devvie

Medals: 1

Who, me?

« Reply #8 - Posted 2003-11-13 07:59:07 »

Good old days?  People still use things like 0xDEADBEEF.  Those who don't know about Java, anyway...

Hellomynameis Charlie Dobbie.
Offline Orangy Tang

JGO Kernel

Medals: 57
Projects: 11

Monkey for a head

« Reply #9 - Posted 2003-11-13 08:11:28 »

Well its more appealing than all those obscure debugging codes like 0xCCCCCCCC or 0xCDCDCDCD you get with VS C++ Wink

[ - Play Growth Spurt, Rescue Squad and Snowman Village ] [ Rebirth - game resource library ]
Pages: [1]
  ignore  |  Print  
You cannot reply to this message, because it is very, very old.

Dwinin (76 views)
2015-11-07 13:29:08

Rems19 (82 views)
2015-10-31 01:36:56

Rems19 (82 views)
2015-10-31 01:32:37

williamwoles (108 views)
2015-10-23 10:42:59

williamwoles (95 views)
2015-10-23 10:42:45

Jervac_ (113 views)
2015-10-18 23:29:12

DarkCart (138 views)
2015-10-16 00:58:11

KaiHH (119 views)
2015-10-11 14:10:14

KaiHH (160 views)
2015-10-11 13:26:18

BurntPizza (174 views)
2015-10-08 03:11:46
Rendering resources
by Roquen
2015-11-13 14:37:59

Rendering resources
by Roquen
2015-11-13 14:36:58

Math: Resources
by Roquen
2015-10-22 07:46:10

Networking Resources
by Roquen
2015-10-16 07:12:30

Rendering resources
by Roquen
2015-10-15 07:40:48

Math: Inequality properties
by Roquen
2015-10-01 13:30:46

Math: Inequality properties
by Roquen
2015-09-30 16:06:05

HotSpot Options
by Roquen
2015-08-29 11:33:11 is not responsible for the content posted by its members, including references to external websites, and other references that may or may not have a relation with our primarily gaming and game production oriented community. inquiries and complaints can be sent via email to the info‑account of the company managing the website of java‑
Powered by MySQL Powered by PHP Powered by SMF 1.1.18 | SMF © 2013, Simple Machines | Managed by Enhanced Four Valid XHTML 1.0! Valid CSS!