Index: applications/viewer/jmapviewer/src/org/openstreetmap/gui/jmapviewer/BingAerialTileSource.java
===================================================================
--- applications/viewer/jmapviewer/src/org/openstreetmap/gui/jmapviewer/BingAerialTileSource.java	(revision 25216)
+++ applications/viewer/jmapviewer/src/org/openstreetmap/gui/jmapviewer/BingAerialTileSource.java	(revision 25217)
@@ -14,5 +14,4 @@
 import javax.imageio.ImageIO;
 
-import org.openstreetmap.josm.Main;
 import org.xml.sax.Attributes;
 import org.xml.sax.InputSource;
@@ -31,5 +30,4 @@
         if (attributions == null) {
             attributions = Executors.newSingleThreadExecutor().submit(new Callable<List<Attribution>>() {
-                @Override
                 public List<Attribution> call() throws Exception {
                     return loadAttributionText();
@@ -107,5 +105,9 @@
             URL u = new URL("http://dev.virtualearth.net/REST/v1/Imagery/Metadata/Aerial/0,0?zl=1&mapVersion=v1&key="+API_KEY+"&include=ImageryProviders&output=xml");
             URLConnection conn = u.openConnection();
-            conn.setConnectTimeout(Main.pref.getInteger("imagery.bing.load-attribution-text.timeout", 4000));
+            
+            // This is not JOSM! Do not use anything other than standard JRE classes within this package!
+            // See package.html for details
+            //conn.setConnectTimeout(Main.pref.getInteger("imagery.bing.load-attribution-text.timeout", 4000));
+            
             InputStream stream = conn.getInputStream();
             
@@ -147,5 +149,4 @@
     }
 
-    @Override
     public TileUpdate getTileUpdate() {
         return TileUpdate.IfNoneMatch;
