<div dir="ltr">Class files are cross endian portable.  the header is 0xbabecafe big endian... od -x will print native endian... looks right to me.</div><div class="gmail_extra"><br><br><div class="gmail_quote">On Thu, Oct 31, 2013 at 1:54 PM, Mayuresh Kathe <span dir="ltr"><<a href="mailto:mayuresh@kathe.in" target="_blank">mayuresh@kathe.in</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">hello, i've been writing short java programs under<br>
omnios, and they work well, no issues with that.<br>
<br>
just did a "od -x <filename>.class" on one of my<br>
programs and found the following;<br>
<br>
0000000 feca beba 0000 3200 2e00 000a 000b 0915<br>
0000020 1600 1700 0008 0a18 1900 1a00 000a 0016<br>
0000040 0a1b 1c00 1d00 0008 081e 1f00 000a 0019<br>
0000060 0720 2100 0007 0122 0600 693c 696e 3e74<br>
.<br>
.<br>
.<br>
<br>
is that reference to "feca beba" due to endian<br>
issues?<br>
it should actually be "cafe babe". :)<br>
<br>
~mayuresh<br>
<br>
_______________________________________________<br>
OmniOS-discuss mailing list<br>
<a href="mailto:OmniOS-discuss@lists.omniti.com">OmniOS-discuss@lists.omniti.com</a><br>
<a href="http://lists.omniti.com/mailman/listinfo/omnios-discuss" target="_blank">http://lists.omniti.com/mailman/listinfo/omnios-discuss</a><br>
</blockquote></div><br><br clear="all"><div><br></div>-- <br>
<p>Theo Schlossnagle</p>
<p><a href="http://omniti.com/is/theo-schlossnagle" target="_blank">http://omniti.com/is/theo-schlossnagle</a></p>
</div>