langtools/test/tools/javac/classfiles/attributes/lib/TestBase.java
changeset 36778 e04318f39f92
parent 32908 bef9744cf56f
equal deleted inserted replaced
36777:28d33fb9097f 36778:e04318f39f92
     1 /*
     1 /*
     2  * Copyright (c) 2014, 2015, Oracle and/or its affiliates. All rights reserved.
     2  * Copyright (c) 2014, 2016, Oracle and/or its affiliates. All rights reserved.
     3  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
     3  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
     4  *
     4  *
     5  * This code is free software; you can redistribute it and/or modify it
     5  * This code is free software; you can redistribute it and/or modify it
     6  * under the terms of the GNU General Public License version 2 only, as
     6  * under the terms of the GNU General Public License version 2 only, as
     7  * published by the Free Software Foundation.
     7  * published by the Free Software Foundation.
    33 import javax.tools.JavaFileObject;
    33 import javax.tools.JavaFileObject;
    34 import javax.tools.ToolProvider;
    34 import javax.tools.ToolProvider;
    35 
    35 
    36 import com.sun.tools.classfile.ClassFile;
    36 import com.sun.tools.classfile.ClassFile;
    37 import com.sun.tools.classfile.ConstantPoolException;
    37 import com.sun.tools.classfile.ConstantPoolException;
       
    38 
       
    39 import toolbox.JavacTask;
       
    40 import toolbox.ToolBox;
    38 
    41 
    39 /**
    42 /**
    40  * Base class for class file attribute tests.
    43  * Base class for class file attribute tests.
    41  * Contains methods for compiling generated sources in memory,
    44  * Contains methods for compiling generated sources in memory,
    42  * for reading files from disk and a lot of assert* methods.
    45  * for reading files from disk and a lot of assert* methods.