-
Enhancement
-
Resolution: Unresolved
-
P4
-
None
-
5.0
-
Fix Understood
-
generic
-
solaris_8
Date: Wed, 07 Jan 2004 09:20:02 +0100
From: <###@###.###>
Subject: retrofit jdk1.4/1.5 api to use varargs
To: ###@###.###
I already send you a mail about replacing some array delarations ([])
by varargs counterparts (...) in the package java.lang.instrument.
I think this job must be generalized to the whole API.
Futhermore, not all array declarations must be retrofit :
Example :
In package java.nio, interface GatheringByteChannel
declares two methods write(ByteBuffer[] srcs) and
write(ByteBuffer[] srcs,int offset,int length).
I think the first method could be declared write(ByteBuffer... srcs)
but the later may not changed because the parameters offset and
length explicitely refer to an array.
From: <###@###.###>
Subject: retrofit jdk1.4/1.5 api to use varargs
To: ###@###.###
I already send you a mail about replacing some array delarations ([])
by varargs counterparts (...) in the package java.lang.instrument.
I think this job must be generalized to the whole API.
Futhermore, not all array declarations must be retrofit :
Example :
In package java.nio, interface GatheringByteChannel
declares two methods write(ByteBuffer[] srcs) and
write(ByteBuffer[] srcs,int offset,int length).
I think the first method could be declared write(ByteBuffer... srcs)
but the later may not changed because the parameters offset and
length explicitely refer to an array.