fix serialVersionUID on 64-bit systems

This commit is contained in:
Doug MacEachern 2007-04-11 00:46:53 +00:00
parent 0901b214c5
commit d272e88b2d
1 changed files with 1 additions and 6 deletions

View File

@ -29,12 +29,7 @@ sub supported_platforms {
}
sub hash {
use integer;
my $hash = 0;
for (split //, shift) {
$hash = $hash*31 + ord $_;
}
return $hash;
return unpack("%32C*", shift) % 65535;
}
#this script generates jni code and java classes for the following table