summaryrefslogtreecommitdiff
path: root/java/sablevm/files/patch-ap
diff options
context:
space:
mode:
Diffstat (limited to 'java/sablevm/files/patch-ap')
-rw-r--r--java/sablevm/files/patch-ap12
1 files changed, 12 insertions, 0 deletions
diff --git a/java/sablevm/files/patch-ap b/java/sablevm/files/patch-ap
new file mode 100644
index 000000000000..51c94bd1f401
--- /dev/null
+++ b/java/sablevm/files/patch-ap
@@ -0,0 +1,12 @@
+--- work/sablevm-1.0.6/src/libsablevm/class_loader.c.orig Thu Feb 20 13:58:04 2003
++++ work/sablevm-1.0.6/src/libsablevm/class_loader.c Thu Feb 20 14:02:19 2003
+@@ -299,8 +299,7 @@
+ }
+
+ /* check version and name */
+- if (!(class->major_version == 45 ||
+- (class->major_version == 46 && class->minor_version == 0)))
++ if (!(class->major_version >= 45 && class->major_version <= 48))
+ {
+ _svmf_error_UnsupportedClassVersionError (env);
+ return JNI_ERR;