This is the mail archive of the kawa@sources.redhat.com mailing list for the Kawa 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: static blocks in define-simple-class


S D wrote:
 > (define-simple-class a ()
  ((f b :: <int>) :: <int> allocation: 'class
     b))

This compiles. But when I load the class into kawa using (load 'a), I
get the following error.

java.lang.VerifyError: (class: a, method: f signature: (I)I) Accessing value
from uninitialized register 1

Oops. Seems like a long-standing bug - surprised no-one has caught it before.

I checked in a fix.
--
	--Per Bothner
per@bothner.com   http://per.bothner.com/


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