46 String vm_spec_version_re = "1\\." + major_version_spec; |
46 String vm_spec_version_re = "1\\." + major_version_spec; |
47 if (major_version < 7) { |
47 if (major_version < 7) { |
48 vendor_re = "Sun Microsystems Inc\\."; |
48 vendor_re = "Sun Microsystems Inc\\."; |
49 vm_spec_version_re = "1\\.0"; |
49 vm_spec_version_re = "1\\.0"; |
50 } |
50 } |
51 verifyProperty("java.vendor", vendor_re); |
|
52 verifyProperty("java.vm.vendor", vendor_re); |
|
53 verifyProperty("java.vm.specification.vendor", vendor_re); |
51 verifyProperty("java.vm.specification.vendor", vendor_re); |
54 verifyProperty("java.specification.vendor", vendor_re); |
52 verifyProperty("java.specification.vendor", vendor_re); |
55 verifyProperty("java.vm.specification.version", vm_spec_version_re); |
53 verifyProperty("java.vm.specification.version", vm_spec_version_re); |
56 System.out.println("PASS"); |
54 System.out.println("PASS"); |
57 } |
55 } |