re GNATS gcj/195: (gcj fail on code to implement an inner interface.)

(This trying to counter the effect of the PR 195 check in -- this should
 be right now.)

From-SVN: r33602
This commit is contained in:
Alexandre Petit-Bianco 2000-05-01 21:49:51 -07:00
parent 2e3092d535
commit b7805411a0
2 changed files with 4 additions and 2 deletions

View File

@ -9996,7 +9996,8 @@ java_complete_expand_methods (class_decl)
for (decl = first_decl; decl; decl = TREE_CHAIN (decl))
{
/* Skip abstract or native methods */
if (METHOD_ABSTRACT (decl) || METHOD_NATIVE (decl))
if (METHOD_ABSTRACT (decl) || METHOD_NATIVE (decl)
|| DECL_CONSTRUCTOR_P (decl) || DECL_CLINIT_P (decl))
continue;
java_complete_expand_method (decl);
}

View File

@ -7298,7 +7298,8 @@ java_complete_expand_methods (class_decl)
for (decl = first_decl; decl; decl = TREE_CHAIN (decl))
{
/* Skip abstract or native methods */
if (METHOD_ABSTRACT (decl) || METHOD_NATIVE (decl))
if (METHOD_ABSTRACT (decl) || METHOD_NATIVE (decl)
|| DECL_CONSTRUCTOR_P (decl) || DECL_CLINIT_P (decl))
continue;
java_complete_expand_method (decl);
}