aboutsummaryrefslogtreecommitdiff
path: root/gcc/java
diff options
context:
space:
mode:
Diffstat (limited to 'gcc/java')
-rw-r--r--gcc/java/ChangeLog5
-rw-r--r--gcc/java/class.c2
2 files changed, 6 insertions, 1 deletions
diff --git a/gcc/java/ChangeLog b/gcc/java/ChangeLog
index 1f75d20..efec460 100644
--- a/gcc/java/ChangeLog
+++ b/gcc/java/ChangeLog
@@ -1,3 +1,8 @@
+2001-12-11 Jeff Sturm <jsturm@one-point.com>
+
+ * class.c (make_method_value): Use null_pointer_node to
+ represent empty exception table.
+
2001-12-10 Tom Tromey <tromey@redhat.com>
* check-init.c (check_init) [SWITCH_EXPR]: Use SWITCH_HAS_DEFAULT.
diff --git a/gcc/java/class.c b/gcc/java/class.c
index 3d691bc..f328806 100644
--- a/gcc/java/class.c
+++ b/gcc/java/class.c
@@ -1293,7 +1293,7 @@ make_method_value (mdecl)
{
/* Compute the `throws' information for the method. */
- tree table = integer_zero_node;
+ tree table = null_pointer_node;
if (DECL_FUNCTION_THROWS (mdecl) != NULL_TREE)
{
int length = 1 + list_length (DECL_FUNCTION_THROWS (mdecl));