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]

Re: branch bytecode verification


Quoth Alexandre Petit-Bianco on Wednesday, 18 July:
: 
: Verification errors happen (and some times rightfully so.) But we'll
: need either a test case or a description on how to reproduce it.

I submitted a bug.  But the upshot is that

public class WriterPreferenceReadWriteLock {
  protected long waitingReaders_ = 0;
  protected synchronized void cancelledWaitingReader() { --waitingReaders_; return; }
}

fails the verifier.  Changing 'long' to 'int', it passes the verifier.


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