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: Kava for GCJ?


"C. van Reeuwijk" <C.vanReeuwijk@its.tudelft.nl> writes:
> unboxing? Instead of annotating a class as 'by value', and placing
> restrictions on it, why not let the compiler itself discover classes
> with these restrictions?

Because treating a class as 'by value' alters the semantics of

  Thing a = new Thing();
  Thing b = a;

  - a


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