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

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