[Bug 90] New: java.nio.ByteOrder.nativeOrder() raises a NullPointerException

[email protected]
Newsgroups gmane.comp.java.vm.sablevm.bugs
Message-ID <[email protected]>
http://sablevm.org/bugs/show_bug.cgi?id=90

           Summary: java.nio.ByteOrder.nativeOrder() raises a
                    NullPointerException
           Product: SableVM
           Version: unspecified
          Platform: PC
        OS/Version: Linux
            Status: NEW
          Severity: major
          Priority: P2
         Component: default
        AssignedTo: [email protected]
        ReportedBy: [email protected]
         QAContact: [email protected]


The following program was compiled by both ibm-jdk-1.4.2 compiler and jikes 1.21

When it perfectly works with the ibm jvm and the sun jvm, it fails with the
sable jvm.

My platform is a NPTL & gcc 3.4 gentoo os, using ibm jdk 1.4.2, sablevm 1.1.8
_______________________________________
import java.nio.ByteOrder;

public class Test
{
  public static main(String args[])
  {
    ByteOrder.nativeOrder();
  }
}
_______________________________________
bash-2.05b$ sablevm -Y Test
java.lang.NullPointerException
   at java.nio.ByteOrder.nativeOrder (ByteOrder.java:64)
   at Test.main (Test.java:7)
   at java.lang.VirtualMachine.invokeMain (VirtualMachine.java)
   at java.lang.VirtualMachine.main (VirtualMachine.java:92)
bash-2.05b$



------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
You are the QA contact for the bug, or are watching the QA contact.
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.