< prev index next >

src/java.base/unix/classes/sun/nio/fs/DefaultFileSystemProvider.java

Print this page

        

*** 42,52 **** c = (Class<FileSystemProvider>)Class.forName(cn); } catch (ClassNotFoundException x) { throw new AssertionError(x); } try { ! return c.newInstance(); } catch (IllegalAccessException | InstantiationException x) { throw new AssertionError(x); } } --- 42,54 ---- c = (Class<FileSystemProvider>)Class.forName(cn); } catch (ClassNotFoundException x) { throw new AssertionError(x); } try { ! @SuppressWarnings("deprecation") ! FileSystemProvider result = c.newInstance(); ! return result; } catch (IllegalAccessException | InstantiationException x) { throw new AssertionError(x); } }
< prev index next >