summaryrefslogtreecommitdiff
path: root/usr.bin/file/magdir/java
blob: cdde1df7b0cead4c6a60361e5c06c11405c51e0b (plain)
1
2
3
4
5
6
7
8
9
10
11
#	$OpenBSD: java,v 1.4 2008/05/08 01:40:57 chl Exp $

#------------------------------------------------------------
# Java ByteCode and Mach-O binaries (e.g., Mac OS X) use the
# same magic number, 0xcafebabe, so they are both handled
# in the entry called "cafebabe".
#------------------------------------------------------------
# Java serialization
# From Martin Pool (m.pool@pharos.com.au)
0	beshort		0xaced		Java serialization data
>2	beshort		>0x0004		\b, version %d