PR java/20312
* parse.y (checks_throws_clauses): Check exceptions list even when
the base class does not come from a source file being compiled.
(java_complete_lhs): Remove unused variable 'wfl'.
From-SVN: r96251
+2005-03-10 Ranjit Mathew <rmathew@hotmail.com>
+
+ PR java/20312
+ * parse.y (checks_throws_clauses): Check exceptions list even when
+ the base class does not come from a source file being compiled.
+ (java_complete_lhs): Remove unused variable 'wfl'.
+
2005-03-09 Ranjit Mathew <rmathew@hotmail.com>
PR java/20338
{
tree mthrows;
- /* Can't check these things with class loaded from bytecode. FIXME */
- if (!CLASS_FROM_SOURCE_P (DECL_CONTEXT (found)))
- return;
-
for (mthrows = DECL_FUNCTION_THROWS (method);
mthrows; mthrows = TREE_CHAIN (mthrows))
{
if (!EXPR_WFL_NODE (node) /* Or a PRIMARY flag ? */
|| TREE_CODE (EXPR_WFL_NODE (node)) == IDENTIFIER_NODE)
{
- tree wfl = node;
node = resolve_expression_name (node, NULL);
if (node == error_mark_node)
return node;