+2001-02-15 Alexandre Petit-Bianco <apbianco@redhat.com>
+
+ * expr.c (build_instanceof): Check for arrays when trying fold to
+ false.
+
2001-02-15 Jim Meyering <meyering@lucent.com>
* Make-lang.in (java.install-common): Depend on `installdirs'.
2001-02-14 Tom Tromey <tromey@redhat.com>
Alexandre Petit-Bianco <apbianco@cygnus.com>
- Fix for PR java/1261.
- * typeck.c (build_java_array_type): Add public `clone' method to
- arrays.
- * parse.y (resolve_qualified_expression_name): Use current_class
+ Fix for PR java/1261.
+ * typeck.c (build_java_array_type): Add public `clone' method to
+ arrays.
+ * parse.y (resolve_qualified_expression_name): Use current_class
when checking for inaccessibility.
- (patch_method_invocation): Fixed error message when accessibility
+ (patch_method_invocation): Fixed error message when accessibility
denied. Added `from_super' argument.
2001-02-14 Alexandre Petit-Bianco <apbianco@redhat.com>
value,
boolean_true_node, boolean_false_node);
}
- else if (DECL_P (klass) && DECL_P (valclass)
+ else if (! TYPE_ARRAY_P (type)
+ && ! TYPE_ARRAY_P (valtype)
+ && DECL_P (klass) && DECL_P (valclass)
&& ! CLASS_INTERFACE (valclass)
&& ! CLASS_INTERFACE (klass)
&& ! inherits_from_p (type, valtype)