I thought os.name for Solaris is 'Solaris' but it's actually 'SunOS'. There is a helper class at

http://hg.openjdk.java.net/jdk8/tl/jdk/file/fd050ba1cf72/src/share/classes/sun/awt/OSInfo.java

This file uses

  if (osName.contains("Solaris") || osName.contains("SunOS"))

Is it real that the value can be 'Solaris' also?

Can we use this class or make a copy (or move it) into sun.misc?

Thanks
Max

Reply via email to