Ignore minor(major?) number

git-svn-id: https://svn.code.sf.net/p/jode/code/branches/branch_1_1@1395 379699f6-c40d-0410-875b-85095c16579e
branch_1_1
hoenicke 19 years ago
parent 190eefee2c
commit 26933573bb
  1. 5
      jode/javaDependencies.pl.in

@ -82,11 +82,10 @@ foreach $clazz (@ARGV) {
binmode FILE;
readInBuff 8 or die "Can't read header";
my ($magic, $major, $minor) = unpack("Nnn", $buff);
my ($magic, $minor, $major) = unpack("Nnn", $buff);
die "Wrong magic $magic" if $magic != 0xcafebabe;
die "Wrong major $major" if $major != 3;
die "Wrong minor $minor" if $minor < 45;
die "Wrong major $major" if $major < 45;
readInBuff 2 or die "Can't read cpool length";

Loading…
Cancel
Save