summaryrefslogtreecommitdiff
path: root/usr.bin/file/magdir/java
blob: 125754196ba8cf1d2f626e4e2ffc8fa6dd9cf52a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
#	$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	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