This is the mail archive of the java-discuss@sourceware.cygnus.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: JvSynchronize nitpick


Per Bothner <per@bothner.com> writes:

> It's a ok solution to a non-problem, I feel.

CNI allows for a near seamless transition when switching between
writing Java and C++ code.  The more seamless we can make that
transition, the better.

For instance, we add a length attribute and overload [] for arrays in
CNI.  Why not allow the same natural Java construct for `synchronized'
to be used in C++?

We could simply say that `synchronized' is a reserved word when
writing CNI, just as it is when writing Java.

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