gcj and UDP datagrams under freebsd
Bryce McKinlay
bryce@waitaki.otago.ac.nz
Tue Apr 9 06:11:00 GMT 2002
Loren James Rittle wrote:
>Here is the static (non-heap, non-stack) object declaration for that
>object in libjava/java/net/InetAddress.java:
>
> private static final byte[] localhostAddress = { 127, 0, 0, 1 };
>
>Does gcj force any alignment of static byte arrays such as this? Or,
>rather, is it suppose to do so and failing to do so here?
>
Exactly - good catch. We are forcing alignment for class objects but I
forgot about static array objects. Please try this patch.
regards
Bryce.
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: java-align.patch
URL: <http://gcc.gnu.org/pipermail/java/attachments/20020409/53b083bb/attachment.ksh>
More information about the Java
mailing list