Fix profile build in jvm backend and correct the signature of BGL_AS_OBJECT in foreign.java.
Bigloo reported a problem finding clinit when compiling bigloo
classes. This was due to clinit being declared for both bigloo modules
and bigloo classes but only actually being defined for bigloo
modules. Additionally, made a small correction to the clinit generated
for profiling when no existing clinit definition was available for
modification; a return instruction was appenoded to the clinit
profiling logic.
And BGL_AS_OBJECT needs to return bigloo.object not Object
Fix profile build in jvm backend and correct the signature of BGL_AS_OBJECT in foreign.java.
Bigloo reported a problem finding clinit when compiling bigloo classes. This was due to clinit being declared for both bigloo modules and bigloo classes but only actually being defined for bigloo modules. Additionally, made a small correction to the clinit generated for profiling when no existing clinit definition was available for modification; a return instruction was appenoded to the clinit profiling logic.
And BGL_AS_OBJECT needs to return bigloo.object not Object