@@ -42,11 +42,13 @@ c = (Class<FileSystemProvider>)Class.forName(cn); } catch (ClassNotFoundException x) { throw new AssertionError(x); } try { - return c.newInstance(); + @SuppressWarnings("deprecation") + FileSystemProvider result = c.newInstance(); + return result; } catch (IllegalAccessException | InstantiationException x) { throw new AssertionError(x); } }