Blame SOURCES/java-1.6.0-openjdk-java-access-bridge-tck.patch

f2b11f
--- java-access-bridge-1.22.0/bridge/org/GNOME/Accessibility/JavaBridge.java.orig	2008-05-22 11:27:00.000000000 -0400
f2b11f
+++ java-access-bridge-1.22.0/bridge/org/GNOME/Accessibility/JavaBridge.java	2008-05-22 11:28:02.000000000 -0400
f2b11f
@@ -34,6 +34,9 @@
f2b11f
 import javax.accessibility.AccessibleRole;
f2b11f
 import javax.accessibility.AccessibleText;
f2b11f
 import javax.accessibility.AccessibleEditableText;
f2b11f
+import java.security.PrivilegedAction;
f2b11f
+import java.security.AccessController;
f2b11f
+
f2b11f
 
f2b11f
 public class JavaBridge {
f2b11f
 
f2b11f
@@ -332,7 +335,11 @@
f2b11f
 			System.err.println ("Java Accessibility Bridge for GNOME loaded.\n");
f2b11f
 
f2b11f
 		// Not sure what kind of arguments should be sent to ORB
f2b11f
-		String vm_rev = System.getProperty("java.version");
f2b11f
+		String vm_rev = (String) AccessController.doPrivileged(new PrivilegedAction() {
f2b11f
+			public java.lang.Object run() {
f2b11f
+				return System.getProperty("java.version");
f2b11f
+			}
f2b11f
+		});	
f2b11f
 
f2b11f
 		if (vm_rev.compareTo("1.4.0") < 0) {
f2b11f
 			System.err.println("WARNING: Java Accessibility Bridge " +