This is the mail archive of the
kawa@sourceware.org
mailing list for the Kawa project.
Re: kawa 1.14 causes java.lang.IllegalAccessException
- From: Per Bothner <per at bothner dot com>
- To: Ito Kazumitsu <kaz at maczuka dot gcd dot org>
- Cc: kawa at sourceware dot org
- Date: Mon, 07 Oct 2013 23:40:34 -0700
- Subject: Re: kawa 1.14 causes java.lang.IllegalAccessException
- Authentication-results: sourceware.org; auth=none
- References: <20131007 dot 163602 dot 155917228 dot kaz at maczuka dot gcd dot org>
On 10/07/2013 12:36 AM, Ito Kazumitsu wrote:
$ java -cp kawa-1.14.jar kawa.repl --script test.scm
test.scm:2:2: warning - no known slot 'append' in java.lang.Object
test.scm:3:2: warning - no known slot 'setLength' in java.lang.Object
java.lang.IllegalAccessException: Class gnu.expr.PrimProcedure can not access a member of class java.lang.AbstractStringBuilder with modifiers "public"
at sun.reflect.Reflection.ensureMemberAccess(Reflection.java:109)
at java.lang.reflect.AccessibleObject.slowCheckMemberAccess(AccessibleObject.java:261)
I checked in a fix for this bug. I also checked in a testcase
based on your report. Thanks!
--
--Per Bothner
per@bothner.com http://per.bothner.com/