< prev index next >

test/compiler/jsr292/methodHandleExceptions/ByteClassLoader.java

Print this page
rev 11557 : 8132919: use package in compiler tests
Reviewed-by: duke

*** 1,14 **** - import java.io.BufferedOutputStream; - import java.io.FileNotFoundException; - import java.io.FileOutputStream; - import java.io.IOException; - import java.net.URL; - import java.net.URLClassLoader; - import java.util.jar.JarEntry; - import java.util.jar.JarOutputStream; - /* * Copyright (c) 2013, 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 --- 1,5 ----
*** 29,38 **** --- 20,40 ---- * or visit www.oracle.com if you need additional information or have any * questions. * */ + package compiler.jsr292.methodHandleExceptions; + + import java.io.BufferedOutputStream; + import java.io.FileNotFoundException; + import java.io.FileOutputStream; + import java.io.IOException; + import java.net.URL; + import java.net.URLClassLoader; + import java.util.jar.JarEntry; + import java.util.jar.JarOutputStream; + /** * A ByteClassLoader is used to define classes from collections of bytes, as * well as loading classes in the usual way. It includes options to write the * classes to files in a jar, or to read the classes from jars in a later or * debugging run.
< prev index next >