This is the mail archive of the java-patches@sources.redhat.com 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]

Re: [PATCH] New C++ ABI compatibility changes.



Bryce McKinlay writes:

> This looks good. Another cleanup which can be done is to use more
> natural types for the arguments to the constructor, and get rid of
> the jbyte, jobject, etc casts.

I wish, it's harder than it seems: omeone originally captured the
restrictions in a comment:

  // FIXME: calling convention is weird.  If we use the natural types
  // then the compiler will complain because they aren't Java types.

And some of the things we need are declared in `include/jvm.h', which
is tricky to include. 

./A

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