[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Bug-kawa] [bug #49537] 'format' on String[] (supported?) prints only fi
From: |
Sudarshan S Chawathe |
Subject: |
[Bug-kawa] [bug #49537] 'format' on String[] (supported?) prints only first |
Date: |
Sat, 5 Nov 2016 01:10:54 +0000 (UTC) |
User-agent: |
Mozilla/5.0 (X11; Linux i686) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/53.0.2785.143 Safari/537.36 |
URL:
<http://savannah.gnu.org/bugs/?49537>
Summary: 'format' on String[] (supported?) prints only first
Project: Kawa
Submitted by: chaw
Submitted on: Sat 05 Nov 2016 01:10:52 AM GMT
Category: Scheme language
Severity: 3 - Normal
Item Group: Unexpected result
Status: None
Privacy: Public
Assigned to: None
Open/Closed: Open
Discussion Lock: Any
_______________________________________________________
Details:
I am not sure if 'format' is meant to support Java arrays and so am not sure
if this is a bug. Nevertheless, following is the behavior that seems odd to
me:
address@hidden:~$ kawa
#|kawa:1|# (format #t "~s~%" (int[] 2 3 5))
[2 3 5]
#|kawa:2|# (format #t "~s~%" (String[] "s2" "s3" "s5"))
"s2"
#|kawa:3|#
address@hidden:~$ kawa --version
Kawa 2.1.91 (revision 9020M)
Copyright (C) 2016 Per Bothner
address@hidden:~$ uname -a
Linux vereq.eip10.org 3.16.0-4-686-pae #1 SMP Debian 3.16.36-1+deb8u2
(2016-10-19) i686 GNU/Linux
address@hidden:~$
java -version
openjdk version "1.8.0_102"
OpenJDK Runtime Environment (build 1.8.0_102-8u102-b14.1-1~bpo8+1-b14)
OpenJDK Server VM (build 25.102-b14, mixed mode)
_______________________________________________________
Reply to this item at:
<http://savannah.gnu.org/bugs/?49537>
_______________________________________________
Message sent via/by Savannah
http://savannah.gnu.org/
- [Bug-kawa] [bug #49537] 'format' on String[] (supported?) prints only first,
Sudarshan S Chawathe <=