equal
deleted
inserted
replaced
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. |