X-Git-Url: https://git.saurik.com/apple/file_cmds.git/blobdiff_plain/fc155071fbbd3dce883ee597b09ca00b6a85119e..440bd1982b8e55068af44543d97888092d61feee:/file/magdir/java diff --git a/file/magdir/java b/file/magdir/java new file mode 100644 index 0000000..df7170e --- /dev/null +++ b/file/magdir/java @@ -0,0 +1,12 @@ +#------------------------------------------------------------ +# Java ByteCode +# From Larry Schwimmer (schwim@cs.stanford.edu) +# +# The Java magic number is the same as the Mach-O fat file magic number. +# Interestingly the the same guy, Mike DeMoney, of NeXT Inc. then of First +# Person (Sun) picked both numbers only a couple of years apart. To make +# the file(1) command work with both the Java Bytecode magic was merged with +# the Mach-O magic in the file mach. +# +#0 belong 0xcafebabe +#>4 belong 0x0003002d Java bytecode