From: Panicz Maciej Godek <godek.maciek@gmail.com>
To: kawa@sourceware.org
Subject: gnu.bytecode.ParameterizedType does not implement Externalizable
Date: Sat, 15 Oct 2022 17:55:56 +0200 [thread overview]
Message-ID: <CAMFYt2aq8ggXH2wK2eqHmB0EkA3O+ABKpRjUG6gLHh7cGU-0-Q@mail.gmail.com> (raw)
[-- Attachment #1: Type: text/plain, Size: 2583 bytes --]
Hi,
as some of you may know, I've been working on a visual Scheme environment
that I called GRASP.
Currently it supports two front-ends.
The first one uses Java's AWT for displaying stuff and handling the input,
and the second one uses a Java library called Lanterna for displaying stuff
in the terminal.
So far, I've been running the AWT client by typing
kawa -f grasp-desktop.scm
and the terminal client by typing
CLASSPATH=./lanterna-3.1.1.jar kawa -f grasp-terminal.scm
(the appropriate jar is located in the same directory).
However - since it takes a while to load all the dependencies, I thought
that I could perhaps compile them to .class files.
Compiling the desktop client was fairly unproblematic. However, when I try
to compile the terminal client (also providing lanterna jar in CLASSPATH),
I get the following:
Exception in thread "main" java.lang.Error: gnu.bytecode.ParameterizedType
does not implement Externalizable
at gnu.expr.LitTable.error(LitTable.java:122)
at gnu.expr.LitTable.writeObject(LitTable.java:282)
at gnu.expr.LitTable.emit(LitTable.java:85)
at gnu.expr.Compilation.generateBytecode(Compilation.java:2039)
at gnu.expr.Compilation.process(Compilation.java:1832)
at gnu.expr.ModuleInfo.loadEager(ModuleInfo.java:337)
at kawa.standard.require.importDefinitions(require.java:291)
at
kawa.standard.ImportFromLibrary.handleImport(ImportFromLibrary.java:487)
at
kawa.standard.ImportFromLibrary.scanImportSet1(ImportFromLibrary.java:296)
at
kawa.standard.ImportFromLibrary.scanImportSet(ImportFromLibrary.java:264)
at
kawa.standard.ImportFromLibrary.scanForm(ImportFromLibrary.java:97)
at kawa.lang.Translator.scanForm(Translator.java:1615)
at kawa.lang.Translator.scanBody(Translator.java:1672)
at kawa.standard.begin.scanForm(begin.java:23)
at kawa.lang.Translator.scanForm(Translator.java:1615)
at gnu.kawa.lispexpr.LispLanguage.parse(LispLanguage.java:117)
at gnu.expr.Language.parse(Language.java:765)
at gnu.expr.Language.parse(Language.java:759)
at gnu.expr.Language.parse(Language.java:753)
at kawa.repl.compileFiles(repl.java:768)
at kawa.repl.processArgs(repl.java:451)
at kawa.repl.main(repl.java:830)
I can provide more details about the compilation process, if they could be
helpful in resolving that issue.
Best regards,
Panicz
next reply other threads:[~2022-10-15 15:56 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-10-15 15:55 Panicz Maciej Godek [this message]
2022-10-15 17:07 ` Per Bothner
2022-10-15 20:11 ` Panicz Maciej Godek
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:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=CAMFYt2aq8ggXH2wK2eqHmB0EkA3O+ABKpRjUG6gLHh7cGU-0-Q@mail.gmail.com \
--to=godek.maciek@gmail.com \
--cc=kawa@sourceware.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* 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).