public inbox for
 help / color / mirror / Atom feed
From: Panicz Maciej Godek <>
To: kawa <>
Subject: Duplicate entry in InnerClasses attribute in class file
Date: Sat, 3 Dec 2022 18:12:00 +0100	[thread overview]
Message-ID: <> (raw)

I have two entry points in GRASP
- one is for the client running in AWT,
and another one is for the client running in terminal:

They both work find, when run with appropriate scripts:

I wanted to merge them into a single entry point that would
decide whether the windowing system is available, and if so,
open AWT, and run in terminal otherwise.

So I wrote this module:

But when I try to run it - using the script
- I get the following error:

Exception in thread "main" java.lang.ClassFormatError: Duplicate entry
in InnerClasses attribute in class file CharPainter
	at java.base/java.lang.ClassLoader.defineClass1(Native Method)
	at java.base/java.lang.ClassLoader.defineClass(
	at java.base/java.lang.ClassLoader.defineClass(
	at gnu.bytecode.ArrayClassLoader.loadClass(
	at gnu.expr.ModuleExp.evalToClass(
	at gnu.expr.ModuleExp.evalToClass(
	at gnu.expr.ModuleExp.evalToClass(
	at gnu.expr.ModuleExp.evalModule1(
	at kawa.Shell.runFile(
	at kawa.Shell.runFileOrClass(
	at kawa.repl.processArgs(
	at kawa.repl.main(

What could be the reason for that error in this setup?

                 reply	other threads:[~2022-12-03 17:12 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \ \ \ \

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).