This is the mail archive of the java-patches@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: Patch: Document and prototype JvAllocBytes() for CNI


>>>>> "Bryce" == Bryce McKinlay <mckinlay@redhat.com> writes:

Bryce> I think we need a varient of the RawData type that is
Bryce> scanned. There are places in libgcj where we use "Object" to
Bryce> store native data.

Yeah.  And ideally for libgcj use, a compiler flag that will give an
error/warning if a RawData or RawDataMarked field is not
private... perhaps even an error if such a field is used at all in
Java code.  The idea here is, make it simpler for us to write safe
code, in preparation for our eventual security push.

Tom


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