Bug 540310 - Eclipse Fails to start if the mtime of the bundles.info file is zero

Fix tests failing with UnsupportedOperationException on Windows.

Change-Id: Iac435bedca69156d40861bc32442d8827915a6cc
Signed-off-by: Mat Booth <mat.booth@redhat.com>
diff --git a/bundles/org.eclipse.equinox.p2.tests/src/org/eclipse/equinox/p2/tests/simpleconfigurator/SimpleConfiguratorTest.java b/bundles/org.eclipse.equinox.p2.tests/src/org/eclipse/equinox/p2/tests/simpleconfigurator/SimpleConfiguratorTest.java
index c1735df..7cecf5d 100644
--- a/bundles/org.eclipse.equinox.p2.tests/src/org/eclipse/equinox/p2/tests/simpleconfigurator/SimpleConfiguratorTest.java
+++ b/bundles/org.eclipse.equinox.p2.tests/src/org/eclipse/equinox/p2/tests/simpleconfigurator/SimpleConfiguratorTest.java
@@ -131,7 +131,7 @@
 		try {
 			FileTime ft = (FileTime) Files.getAttribute(file.toPath(), "unix:ctime");
 			ctime = ft.toMillis();
-		} catch (IllegalArgumentException | IOException e) {
+		} catch (UnsupportedOperationException | IllegalArgumentException | IOException e) {
 			// Not applicable on non-posix platforms
 		}
 		if (storeZero) {
diff --git a/bundles/org.eclipse.equinox.simpleconfigurator/src/org/eclipse/equinox/internal/simpleconfigurator/utils/SimpleConfiguratorUtils.java b/bundles/org.eclipse.equinox.simpleconfigurator/src/org/eclipse/equinox/internal/simpleconfigurator/utils/SimpleConfiguratorUtils.java
index c6512e3..dfd9496 100644
--- a/bundles/org.eclipse.equinox.simpleconfigurator/src/org/eclipse/equinox/internal/simpleconfigurator/utils/SimpleConfiguratorUtils.java
+++ b/bundles/org.eclipse.equinox.simpleconfigurator/src/org/eclipse/equinox/internal/simpleconfigurator/utils/SimpleConfiguratorUtils.java
@@ -414,7 +414,7 @@
 				// platforms creation time is a synonym for last modified time)
 				FileTime ctime = (FileTime) Files.getAttribute(file.toPath(), "unix:ctime");
 				lastModified = ctime.toMillis();
-			} catch (IllegalArgumentException | IOException e) {
+			} catch (UnsupportedOperationException | IllegalArgumentException | IOException e) {
 				// We expect this attribute to not exist on non-posix platforms like Windows
 			}
 		}