/usr/src/gcc-4.6/debian/patches/libjava-cff1.7.diff is in gcc-4.6-source 4.6.4-6ubuntu2.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 | # DP: Allow java class file format version 1.7.
libjava/
2012-04-23 Andrew Haley <aph@redhat.com>
* defineclass.cc (MAJOR_1_7, MINOR_1_7): New.
(parse): Allow MAJOR_1_7 classfile version.
--- a/src/libjava/defineclass.cc
+++ b/src/libjava/defineclass.cc
@@ -361,6 +361,8 @@
#define MINOR_1_5 0
#define MAJOR_1_6 50
#define MINOR_1_6 0
+#define MAJOR_1_7 51
+#define MINOR_1_7 0
void
_Jv_ClassReader::parse ()
@@ -371,8 +373,8 @@
int minor_version = read2u ();
int major_version = read2u ();
- if (major_version < MAJOR_1_1 || major_version > MAJOR_1_6
- || (major_version == MAJOR_1_6 && minor_version > MINOR_1_6))
+ if (major_version < MAJOR_1_1 || major_version > MAJOR_1_7
+ || (major_version == MAJOR_1_7 && minor_version > MINOR_1_7))
throw_class_format_error ("unrecognized class file version");
is_15 = (major_version >= MAJOR_1_5);
|