This is the mail archive of the java@gcc.gnu.org mailing list for the Java project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Class.h and Class.java both define zero-arg constructor


Adam Megacz wrote:

>Is it safe to assume that that method will get inlined?
>
Perhaps not.

>What does the #pragma implementation "Class.h" in natClass.cc mean?
>
That "real" implementations for the inline functions in Class.h will get 
emitted in this compilation unit, I think.

>Where does that constructor get
>called from? There's a comment pointing to prims.cc, but I don't see a
>"new Class()" anywhere in there.
>

#define DECLARE_PRIM_TYPE(NAME)            \
  _Jv_ArrayVTable _Jv_##NAME##VTable;        \
  java::lang::Class _Jv_##NAME##Class;

regards

Bryce.



Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]