summaryrefslogtreecommitdiffstats
path: root/usr.bin/file/magdir/java
diff options
context:
space:
mode:
authortedu <tedu@openbsd.org>2004-06-03 03:14:19 +0000
committertedu <tedu@openbsd.org>2004-06-03 03:14:19 +0000
commit36c0c0fe52d85499b9387838d17594792563476f (patch)
tree7329e116c55652b134f7d49a33d6c3e319213aff /usr.bin/file/magdir/java
parentcommented out ahd (diff)
downloadwireguard-openbsd-36c0c0fe52d85499b9387838d17594792563476f.tar.xz
wireguard-openbsd-36c0c0fe52d85499b9387838d17594792563476f.zip
merge in new magic from file 4.09. Mostly from Bruno Rohee
Diffstat (limited to 'usr.bin/file/magdir/java')
-rw-r--r--usr.bin/file/magdir/java12
1 files changed, 9 insertions, 3 deletions
diff --git a/usr.bin/file/magdir/java b/usr.bin/file/magdir/java
index 0b75e7cb720..125754196ba 100644
--- a/usr.bin/file/magdir/java
+++ b/usr.bin/file/magdir/java
@@ -1,7 +1,13 @@
-# $OpenBSD: java,v 1.2 2001/01/29 01:57:57 niklas Exp $
+# $OpenBSD: java,v 1.3 2004/06/03 03:14:20 tedu Exp $
#------------------------------------------------------------
# Java ByteCode
# From Larry Schwimmer (schwim@cs.stanford.edu)
-0 belong 0xcafebabe
->4 belong 0x0003002d Java bytecode
+0 belong 0xcafebabe compiled Java class data,
+>6 beshort x version %d.
+>4 beshort x \b%d
+#------------------------------------------------------------
+# Java serialization
+# From Martin Pool (m.pool@pharos.com.au)
+0 beshort 0xaced Java serialization data
+>2 beshort >0x0004 \b, version %d