]> git.saurik.com Git - apple/file_cmds.git/blobdiff - file/magdir/java
file_cmds-60.tar.gz
[apple/file_cmds.git] / file / magdir / java
diff --git a/file/magdir/java b/file/magdir/java
new file mode 100644 (file)
index 0000000..df7170e
--- /dev/null
@@ -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