http://sablevm.org/bugs/show_bug.cgi?id=83
Summary: os.name and other system properties unimplemented
Product: SableVM
Version: staging
Platform: Other
OS/Version: All
Status: NEW
Severity: normal
Priority: P2
Component: default
AssignedTo: [email protected]
ReportedBy: [email protected]
QAContact: [email protected]
Some system properties are not implemented and have there value defined as "?".
See file: vm/reference/java/lang/VMRuntime.java for properties list.
We have:
p.setProperty("os.name", getOSName());
p.setProperty("os.arch", getOSArch());
p.setProperty("os.version", getOSVersion());
That I started working on.
And also, these that I'm not sure what to do about.
p.setProperty("java.version", "?");
p.setProperty("java.vendor", "?");
p.setProperty("java.vendor.url", "?");
p.setProperty("java.home", "?");
p.setProperty("java.specification.version", "?");
p.setProperty("java.specification.vendor", "?");
p.setProperty("java.specification.name", "?");
p.setProperty("java.class.version", "?");
Test program to test the OS-related ones:
public class os
{
public static void main(String[] args)
{
System.out.println("os.name=" + System.getProperty("os.name"));
System.out.println("os.arch=" + System.getProperty("os.arch"));
System.out.println("os.version=" + System.getProperty("os.version"));
}
}
------- 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.