decl.c (complete_start_java_method): Don't call _Jv_InitClass from <clinit>

Wed Apr 26 14:29:33 2000  Alexandre Petit-Bianco  <apbianco@cygnus.com>

	* decl.c (complete_start_java_method): Don't call _Jv_InitClass
 	from <clinit>

From-SVN: r33493
This commit is contained in:
Alexandre Petit-Bianco 2000-04-27 23:25:18 +00:00 committed by Alexandre Petit-Bianco
parent 40f4ae3280
commit ad81223cbf
2 changed files with 6 additions and 0 deletions

View File

@ -1,3 +1,8 @@
Wed Apr 26 14:29:33 2000 Alexandre Petit-Bianco <apbianco@cygnus.com>
* decl.c (complete_start_java_method): Don't call _Jv_InitClass
from <clinit>
2000-04-26 Tom Tromey <tromey@cygnus.com>
* zextract.c (find_zip_file_start): New function.

View File

@ -1692,6 +1692,7 @@ complete_start_java_method (fndecl)
if (METHOD_STATIC (fndecl) && ! METHOD_PRIVATE (fndecl)
&& ! flag_emit_class_files
&& ! DECL_CLINIT_P (fndecl)
&& ! CLASS_INTERFACE (TYPE_NAME (current_class)))
{
tree clas = DECL_CONTEXT (fndecl);