Bug 490637 - I20160329-0800 is no good on Linux - tests fail with
OutOfMemoryError: Java heap space 

- Added error check for zoom mapping

Change-Id: Ieb4e3ef4a3223e247ce77da1d071bc61234e02cb
diff --git a/bundles/org.eclipse.swt/Eclipse SWT/common/org/eclipse/swt/internal/DPIUtil.java b/bundles/org.eclipse.swt/Eclipse SWT/common/org/eclipse/swt/internal/DPIUtil.java
index 5936f7c..15d06b0 100644
--- a/bundles/org.eclipse.swt/Eclipse SWT/common/org/eclipse/swt/internal/DPIUtil.java
+++ b/bundles/org.eclipse.swt/Eclipse SWT/common/org/eclipse/swt/internal/DPIUtil.java
@@ -236,7 +236,7 @@
 public static int mapDPIToZoom (int dpi) {
 	double zoom = dpi * 100 / DPI_ZOOM_100; //convert to percentage
 	int roundedZoom = (int) (Math.round (zoom / MIN_ZOOM_INTERVAL) * MIN_ZOOM_INTERVAL); //rounding to MIN_ZOOM_INTERVAL steps
-	return roundedZoom;
+	return Math.max (100, roundedZoom);
 }
 /**
  * Gets Image data at specified zoom level, if image is missing then