-
Bug
-
Resolution: Fixed
-
P4
-
8, 9
-
None
-
b76
Issue | Fix Version | Assignee | Priority | Status | Resolution | Resolved In Build |
---|---|---|---|---|---|---|
JDK-8136030 | emb-9 | Volker Simonis | P4 | Resolved | Fixed | team |
In the constructor of SunGraphicsEnvironment there's a check for os.version > 5.10.
If this check is true, /etc/release is opened to get additional Solaris-specific information. But this query only makes sense on Solaris, so we should first check if we're on solaris before we check for os.version beeing bigger than 5.10.
Otherwise, the VM will try to open /etc/release on every system which has an os.version bigger than 5.10.
If this check is true, /etc/release is opened to get additional Solaris-specific information. But this query only makes sense on Solaris, so we should first check if we're on solaris before we check for os.version beeing bigger than 5.10.
Otherwise, the VM will try to open /etc/release on every system which has an os.version bigger than 5.10.
- backported by
-
JDK-8136030 Check os.name before os.version in SunGraphicsEnvironment constructor
-
- Resolved
-