Bug 551576 - BundleURLConnection.getContentLengthLong() always returns 0

Change-Id: I3d781b1f805f2c75b65bb56fe156f0f6e48750ef
Signed-off-by: Thomas Watson <tjwatson@us.ibm.com>
diff --git a/bundles/org.eclipse.osgi/container/src/org/eclipse/osgi/storage/url/BundleURLConnection.java b/bundles/org.eclipse.osgi/container/src/org/eclipse/osgi/storage/url/BundleURLConnection.java
index 4b92876..d6a68fa 100644
--- a/bundles/org.eclipse.osgi/container/src/org/eclipse/osgi/storage/url/BundleURLConnection.java
+++ b/bundles/org.eclipse.osgi/container/src/org/eclipse/osgi/storage/url/BundleURLConnection.java
@@ -63,8 +63,8 @@
 	}
 
 	@Override
-	public int getContentLength() {
-		return ((int) bundleEntry.getSize());
+	public long getContentLengthLong() {
+		return bundleEntry.getSize();
 	}
 
 	@Override