< prev index next >

src/java.base/share/classes/jdk/internal/misc/JavaNetAccess.java

Print this page
rev 15833 : 8168073: Speed up URI creation during module bootstrap
Reviewed-by: alanb

*** 1,7 **** /* ! * Copyright (c) 2006, 2015, Oracle and/or its affiliates. All rights reserved. * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * * This code is free software; you can redistribute it and/or modify it * under the terms of the GNU General Public License version 2 only, as * published by the Free Software Foundation. Oracle designates this --- 1,7 ---- /* ! * Copyright (c) 2006, 2016, Oracle and/or its affiliates. All rights reserved. * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * * This code is free software; you can redistribute it and/or modify it * under the terms of the GNU General Public License version 2 only, as * published by the Free Software Foundation. Oracle designates this
*** 23,36 **** * questions. */ package jdk.internal.misc; ! import java.net.URLClassLoader; ! import jdk.internal.loader.URLClassPath; public interface JavaNetAccess { /** ! * return the URLClassPath belonging to the given loader */ ! URLClassPath getURLClassPath (URLClassLoader u); } --- 23,35 ---- * questions. */ package jdk.internal.misc; ! import java.net.URI; public interface JavaNetAccess { /** ! * Create a URI of pre-validated scheme and path. */ ! URI createURI(String scheme, String path); }
< prev index next >