summaryrefslogtreecommitdiff
path: root/jvmfwk
diff options
context:
space:
mode:
authorrbuj <robert.buj@gmail.com>2014-08-21 13:04:37 +0200
committerDavid Tardon <dtardon@redhat.com>2014-08-21 09:43:56 -0500
commit8daebc0c343f79e6ded1f35a19ed83358ec3fcb3 (patch)
tree2fbcc84ac1f73eabae256a9b5a0bf97f85a4bcc4 /jvmfwk
parent7aac7d175605e1bb94c3967c294ed7f915a5603a (diff)
jvmfwk: Removes the checking for W98 in JREProperties.java
Change-Id: Ia5be6b5893abef084b5e4203f9f02919289ce055 Reviewed-on: https://gerrit.libreoffice.org/11054 Reviewed-by: David Tardon <dtardon@redhat.com> Tested-by: David Tardon <dtardon@redhat.com>
Diffstat (limited to 'jvmfwk')
-rw-r--r--jvmfwk/plugins/sunmajor/pluginlib/JREProperties.java16
1 files changed, 1 insertions, 15 deletions
diff --git a/jvmfwk/plugins/sunmajor/pluginlib/JREProperties.java b/jvmfwk/plugins/sunmajor/pluginlib/JREProperties.java
index 525fb2263148..3f7bc48efd6d 100644
--- a/jvmfwk/plugins/sunmajor/pluginlib/JREProperties.java
+++ b/jvmfwk/plugins/sunmajor/pluginlib/JREProperties.java
@@ -43,27 +43,13 @@ public class JREProperties
bNoAccess = true;
}
- //Find out on what operation system we are running. On Windows 98
- //we must not call getDefaultToolkit, because the office may freeze
- //#i44608.
- boolean bW98 = false;
- String os = System.getProperty("os.name");
-
- if (os != null)
- {
- os = os.trim();
- if (os.equalsIgnoreCase("Windows 98") ||
- os.indexOf("Windows 98") != -1)
- bW98 = true;
- }
-
//We need to be able to switch this part off because
//it causes an exception if the DISPLAY variable has
//a false value. Setting the noaccessibility argument
//can be done by providing a sunjavaplugin.ini with
//the bootstrap parameter JFW_PLUGIN_NO_NOT_CHECK_ACCESSIBILITY
//set to "1"
- if (!bNoAccess && ! bW98)
+ if (!bNoAccess)
{
try{
//This line is needed to get the accessibility properties