Tom Tromey
a022cd5969
re PR libgcj/16032 (libgcj should reject class files with incorrect version numbers)
PR libgcj/16032:
* interpret.cc (AVAL1U): Resolve pool entry when not direct
threaded.
(AVAL2U): Likewise.
(compile): Handle 'ldc class' specially.
(_Jv_InterpMethod::run): Added special 'ldc class' instruction.
* verify.cc (check_constant): Handle 'ldc class' for 1.5 classes.
* defineclass.cc (handleCodeAttribute): Set new field.
(MAJOR_1_1, MINOR_1_1, MAJOR_1_2, MINOR_1_2, MAJOR_1_3, MINOR_1_3,
MAJOR_1_4, MINOR_1_4, MAJOR_1_5, MINOR_1_5): New defines.
(parse): Check version numbers.
(_Jv_ClassReader::is_15): New field.
(_Jv_ClassReader): Initialize it.
* include/java-interp.h (_Jv_InterpMethod::is_15): New field.
From-SVN: r104325
2005-09-15 22:02:13 +00:00
..
2005-01-02 03:35:57 +00:00
2005-09-12 23:50:01 +00:00
2004-07-01 04:09:07 +00:00
2004-09-26 13:38:49 -07:00
2003-06-13 12:20:45 +00:00
2004-11-25 03:47:08 +00:00
2005-09-09 13:05:20 +00:00
2005-06-30 03:22:09 +00:00
2005-09-15 22:02:13 +00:00
2005-09-08 21:26:25 +00:00
2005-03-16 18:18:59 +00:00
2005-06-30 03:22:09 +00:00
2005-06-30 03:22:09 +00:00
2005-06-30 03:22:09 +00:00
2005-08-17 20:44:10 +00:00
2005-07-22 20:45:36 +00:00
2005-09-12 23:50:01 +00:00
2004-09-26 13:38:49 -07:00
2004-12-01 21:44:09 +00:00
2004-07-09 03:39:35 +00:00
2004-10-11 10:49:39 -07:00
2005-03-22 20:10:16 +00:00
2004-02-10 23:57:43 +10:30
2004-07-14 13:09:09 +00:00
2004-10-21 10:44:39 +00:00
2004-09-26 13:38:49 -07:00
2003-06-13 12:20:45 +00:00
2004-09-11 19:13:51 +00:00
2004-08-01 04:29:31 +00:00
2004-02-08 18:35:52 +01:00