// defineclass.cc - defining a class from .class format.
-/* Copyright (C) 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007
+/* Copyright (C) 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2012
Free Software Foundation
This file is part of libgcj.
#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 ()
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);
method->prepared = NULL;
method->line_table_len = 0;
method->line_table = NULL;
-
+#ifdef DIRECT_THREADED
+ method->thread_count = 0;
+#endif
// grab the byte code!
memcpy ((void*) method->bytecode (),