diff options
author | Michael Koch <konqueror@gmx.de> | 2003-12-04 10:59:56 +0000 |
---|---|---|
committer | Michael Koch <mkoch@gcc.gnu.org> | 2003-12-04 10:59:56 +0000 |
commit | 477913522a0768c5653299757a06e8de0a8a7f7a (patch) | |
tree | da9d9cde6113f511230666f5365023e8ee3caa08 /gcc/cppmacro.c | |
parent | 7f1156ed35e4f5a14cea93e42137302eb1d1f07a (diff) | |
download | gcc-477913522a0768c5653299757a06e8de0a8a7f7a.zip gcc-477913522a0768c5653299757a06e8de0a8a7f7a.tar.gz gcc-477913522a0768c5653299757a06e8de0a8a7f7a.tar.bz2 |
2003-12-04 Michael Koch <konqueror@gmx.de>
* java/net/DatagramPacket.java
(length): Made packge-private to make it accessible via CNI.
(maxlen): New field.
(DatagramPacket): Cleaned up.
(setSocketAddress): Add message to exception.
(setData): Call other setData().
(setData): Call setLength().
(setLength): Initialize maxlen too.
* gnu/java/net/natPlainDatagramSocketImplPosix.cc (peekData):
Get maximal length from maxlen field, set length field directly.
(receive): Likewise.
* gnu/java/net/natPlainDatagramSocketImplWin32.cc (peekData):
Get maximal length from maxlen field, set length field directly.
(receive): Likewise.
From-SVN: r74278
Diffstat (limited to 'gcc/cppmacro.c')
0 files changed, 0 insertions, 0 deletions