GNU bug report logs -
#24327
java does not support swing
Previous Next
Reported by: Alex Vong <alexvong1995 <at> gmail.com>
Date: Mon, 29 Aug 2016 05:23:02 UTC
Severity: normal
Tags: fixed
Done: iyzsong <at> member.fsf.org (宋文武)
Bug is archived. No further changes may be made.
To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 24327 in the body.
You can then email your comments to 24327 AT debbugs.gnu.org in the normal way.
Toggle the display of automated, internal messages from the tracker.
Report forwarded
to
bug-guix <at> gnu.org
:
bug#24327
; Package
guix
.
(Mon, 29 Aug 2016 05:23:02 GMT)
Full text and
rfc822 format available.
Acknowledgement sent
to
Alex Vong <alexvong1995 <at> gmail.com>
:
New bug report received and forwarded. Copy sent to
bug-guix <at> gnu.org
.
(Mon, 29 Aug 2016 05:23:02 GMT)
Full text and
rfc822 format available.
Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):
Hi,
Our current java does not support swing. To reproduce, first install
java and clojure. Then start the clojure repl by running:
$ ~/.guix-profile/bin/java -cp ~/.guix-profile/share/java/clojure-1.8.0.jar clojure.main
Then try the repl by typing:
=> (+ 1 2 3)
6
Now run:
=> (javax.swing.JOptionPane/showMessageDialog nil "Hello World")
NullPointerException sun.awt.FontConfiguration.getVersion (FontConfiguration.java:1264)
Note that the above test case is taken from
<https://clojure.org/guides/getting_started>.
In contrast, if we replace ~/.guix-profile/bin/java by /usr/bin/java in
the command, we do not get a nullpointerexception (my base distro is
debian testing). So there should be a problem in our java build. Any
ideas?
Thanks,
Alex
Added tag(s) fixed.
Request was from
iyzsong <at> member.fsf.org (宋文武)
to
control <at> debbugs.gnu.org
.
(Sun, 11 Sep 2016 02:14:02 GMT)
Full text and
rfc822 format available.
Reply sent
to
iyzsong <at> member.fsf.org (宋文武)
:
You have taken responsibility.
(Sun, 11 Sep 2016 02:15:02 GMT)
Full text and
rfc822 format available.
Notification sent
to
Alex Vong <alexvong1995 <at> gmail.com>
:
bug acknowledged by developer.
(Sun, 11 Sep 2016 02:15:02 GMT)
Full text and
rfc822 format available.
Message #12 received at 24327-done <at> debbugs.gnu.org (full text, mbox):
Alex Vong <alexvong1995 <at> gmail.com> writes:
> Hi,
>
> Our current java does not support swing. To reproduce, first install
> java and clojure. Then start the clojure repl by running:
> $ ~/.guix-profile/bin/java -cp ~/.guix-profile/share/java/clojure-1.8.0.jar clojure.main
>
> Then try the repl by typing:
> => (+ 1 2 3)
> 6
>
> Now run:
> => (javax.swing.JOptionPane/showMessageDialog nil "Hello World")
> NullPointerException sun.awt.FontConfiguration.getVersion (FontConfiguration.java:1264)
>
> Note that the above test case is taken from
> <https://clojure.org/guides/getting_started>.
>
> In contrast, if we replace ~/.guix-profile/bin/java by /usr/bin/java in
> the command, we do not get a nullpointerexception (my base distro is
> debian testing). So there should be a problem in our java build. Any
> ideas?
Yeah, openjdk-8 loads fontconfig via dlopen.
Fixed in commit cab1760de.
bug archived.
Request was from
Debbugs Internal Request <help-debbugs <at> gnu.org>
to
internal_control <at> debbugs.gnu.org
.
(Sun, 09 Oct 2016 11:24:04 GMT)
Full text and
rfc822 format available.
This bug report was last modified 7 years and 210 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.