Compiler log for org.eclipse.jdt.compiler.tool.tests_1.2.51.v20171122-1403 : @dot.xml

TOTAL : ERRORS: 0, WARNINGS: 72, INFOS: 0

errors others warnings infos forbidden warnings discouraged warnings

ERRORS

top others warnings infos forbidden warnings discouraged warnings

OTHER WARNINGS

top errors infos forbidden warnings discouraged warnings

INFO WARNINGS

errors others warnings forbidden warnings discouraged warnings

FORBIDDEN ACCESS WARNINGS

top errors infos others warnings discouraged warnings

DISCOURAGED ACCESS WARNINGS

top errors infos others warnings forbidden warnings

/src/org/eclipse/jdt/compiler/tool/tests/AbstractCompilerToolTest.java : 6 warnings :

DISCOURAGED ACCESS WARNINGS
1. WARNING in /src/org/eclipse/jdt/compiler/tool/tests/AbstractCompilerToolTest.java
 (at line 29)
import org.eclipse.jdt.internal.compiler.tool.EclipseCompiler;
Discouraged access: The type 'EclipseCompiler' is not API (restriction on classpath entry '/opt/public/eclipse/builds/4M/gitCache/eclipse.platform.releng.aggregator/eclipse.jdt.core/org.eclipse.jdt.compiler.tool/target/classes')
2. WARNING in /src/org/eclipse/jdt/compiler/tool/tests/AbstractCompilerToolTest.java
 (at line 89)
static EclipseCompiler COMPILER = new EclipseCompiler();
Discouraged access: The type 'EclipseCompiler' is not API (restriction on classpath entry '/opt/public/eclipse/builds/4M/gitCache/eclipse.platform.releng.aggregator/eclipse.jdt.core/org.eclipse.jdt.compiler.tool/target/classes')
3. WARNING in /src/org/eclipse/jdt/compiler/tool/tests/AbstractCompilerToolTest.java
 (at line 89)
static EclipseCompiler COMPILER = new EclipseCompiler();
Discouraged access: The constructor 'EclipseCompiler()' is not API (restriction on classpath entry '/opt/public/eclipse/builds/4M/gitCache/eclipse.platform.releng.aggregator/eclipse.jdt.core/org.eclipse.jdt.compiler.tool/target/classes')
4. WARNING in /src/org/eclipse/jdt/compiler/tool/tests/AbstractCompilerToolTest.java
 (at line 89)
static EclipseCompiler COMPILER = new EclipseCompiler();
Discouraged access: The type 'EclipseCompiler' is not API (restriction on classpath entry '/opt/public/eclipse/builds/4M/gitCache/eclipse.platform.releng.aggregator/eclipse.jdt.core/org.eclipse.jdt.compiler.tool/target/classes')
5. WARNING in /src/org/eclipse/jdt/compiler/tool/tests/AbstractCompilerToolTest.java
 (at line 101)
manager = COMPILER.getStandardFileManager(null, null, null); // will pick defaults up
Discouraged access: The method 'EclipseCompiler.getStandardFileManager(DiagnosticListener<? super JavaFileObject>, Locale, Charset)' is not API (restriction on classpath entry '/opt/public/eclipse/builds/4M/gitCache/eclipse.platform.releng.aggregator/eclipse.jdt.core/org.eclipse.jdt.compiler.tool/target/classes')
6. WARNING in /src/org/eclipse/jdt/compiler/tool/tests/AbstractCompilerToolTest.java
 (at line 114)
CompilationTask task = COMPILER.getTask(out, arguments.standardJavaFileManager /* carry the null over */, new CompilerInvocationDiagnosticListener(err), arguments.options, null, manager.getJavaFileObjectsFromFiles(files));
Discouraged access: The method 'EclipseCompiler.getTask(Writer, JavaFileManager, DiagnosticListener<? super JavaFileObject>, Iterable<String>, Iterable<String>, Iterable<? extends JavaFileObject>)' is not API (restriction on classpath entry '/opt/public/eclipse/builds/4M/gitCache/eclipse.platform.releng.aggregator/eclipse.jdt.core/org.eclipse.jdt.compiler.tool/target/classes')

/src/org/eclipse/jdt/compiler/tool/tests/CompilerToolJava9Tests.java : 19 warnings :

DISCOURAGED ACCESS WARNINGS
1. WARNING in /src/org/eclipse/jdt/compiler/tool/tests/CompilerToolJava9Tests.java
 (at line 48)
import org.eclipse.jdt.internal.compiler.classfmt.ClassFileConstants;
Discouraged access: The type 'ClassFileConstants' is not API (restriction on classpath entry '/opt/public/eclipse/builds/4M/gitCache/eclipse.platform.releng.aggregator/eclipse.jdt.core/org.eclipse.jdt.core/target/classes')
2. WARNING in /src/org/eclipse/jdt/compiler/tool/tests/CompilerToolJava9Tests.java
 (at line 49)
import org.eclipse.jdt.internal.compiler.classfmt.ClassFileReader;
Discouraged access: The type 'ClassFileReader' is not API (restriction on classpath entry '/opt/public/eclipse/builds/4M/gitCache/eclipse.platform.releng.aggregator/eclipse.jdt.core/org.eclipse.jdt.core/target/classes')
3. WARNING in /src/org/eclipse/jdt/compiler/tool/tests/CompilerToolJava9Tests.java
 (at line 50)
import org.eclipse.jdt.internal.compiler.classfmt.ClassFormatException;
Discouraged access: The type 'ClassFormatException' is not API (restriction on classpath entry '/opt/public/eclipse/builds/4M/gitCache/eclipse.platform.releng.aggregator/eclipse.jdt.core/org.eclipse.jdt.core/target/classes')
4. WARNING in /src/org/eclipse/jdt/compiler/tool/tests/CompilerToolJava9Tests.java
 (at line 51)
import org.eclipse.jdt.internal.compiler.tool.EclipseCompiler;
Discouraged access: The type 'EclipseCompiler' is not API (restriction on classpath entry '/opt/public/eclipse/builds/4M/gitCache/eclipse.platform.releng.aggregator/eclipse.jdt.core/org.eclipse.jdt.compiler.tool/target/classes')
5. WARNING in /src/org/eclipse/jdt/compiler/tool/tests/CompilerToolJava9Tests.java
 (at line 84)
if (compiler instanceof EclipseCompiler) {
Discouraged access: The type 'EclipseCompiler' is not API (restriction on classpath entry '/opt/public/eclipse/builds/4M/gitCache/eclipse.platform.releng.aggregator/eclipse.jdt.core/org.eclipse.jdt.compiler.tool/target/classes')
6. WARNING in /src/org/eclipse/jdt/compiler/tool/tests/CompilerToolJava9Tests.java
 (at line 265)
ClassFileReader reader = null;
Discouraged access: The type 'ClassFileReader' is not API (restriction on classpath entry '/opt/public/eclipse/builds/4M/gitCache/eclipse.platform.releng.aggregator/eclipse.jdt.core/org.eclipse.jdt.core/target/classes')
7. WARNING in /src/org/eclipse/jdt/compiler/tool/tests/CompilerToolJava9Tests.java
 (at line 267)
reader = ClassFileReader.read(new File(tmpFolder, "p/X.class"), true);
Discouraged access: The type 'ClassFileReader' is not API (restriction on classpath entry '/opt/public/eclipse/builds/4M/gitCache/eclipse.platform.releng.aggregator/eclipse.jdt.core/org.eclipse.jdt.core/target/classes')
8. WARNING in /src/org/eclipse/jdt/compiler/tool/tests/CompilerToolJava9Tests.java
 (at line 267)
reader = ClassFileReader.read(new File(tmpFolder, "p/X.class"), true);
Discouraged access: The method 'ClassFileReader.read(File, boolean)' is not API (restriction on classpath entry '/opt/public/eclipse/builds/4M/gitCache/eclipse.platform.releng.aggregator/eclipse.jdt.core/org.eclipse.jdt.core/target/classes')
9. WARNING in /src/org/eclipse/jdt/compiler/tool/tests/CompilerToolJava9Tests.java
 (at line 268)
} catch (ClassFormatException e) {
Discouraged access: The type 'ClassFormatException' is not API (restriction on classpath entry '/opt/public/eclipse/builds/4M/gitCache/eclipse.platform.releng.aggregator/eclipse.jdt.core/org.eclipse.jdt.core/target/classes')
10. WARNING in /src/org/eclipse/jdt/compiler/tool/tests/CompilerToolJava9Tests.java
 (at line 275)
assertEquals("Wrong value", ClassFileConstants.JDK1_8, reader.getVersion());
Discouraged access: The type 'ClassFileConstants' is not API (restriction on classpath entry '/opt/public/eclipse/builds/4M/gitCache/eclipse.platform.releng.aggregator/eclipse.jdt.core/org.eclipse.jdt.core/target/classes')
11. WARNING in /src/org/eclipse/jdt/compiler/tool/tests/CompilerToolJava9Tests.java
 (at line 275)
assertEquals("Wrong value", ClassFileConstants.JDK1_8, reader.getVersion());
Discouraged access: The field 'ClassFileConstants.JDK1_8' is not API (restriction on classpath entry '/opt/public/eclipse/builds/4M/gitCache/eclipse.platform.releng.aggregator/eclipse.jdt.core/org.eclipse.jdt.core/target/classes')
12. WARNING in /src/org/eclipse/jdt/compiler/tool/tests/CompilerToolJava9Tests.java
 (at line 275)
assertEquals("Wrong value", ClassFileConstants.JDK1_8, reader.getVersion());
Discouraged access: The method 'ClassFileReader.getVersion()' is not API (restriction on classpath entry '/opt/public/eclipse/builds/4M/gitCache/eclipse.platform.releng.aggregator/eclipse.jdt.core/org.eclipse.jdt.core/target/classes')
13. WARNING in /src/org/eclipse/jdt/compiler/tool/tests/CompilerToolJava9Tests.java
 (at line 370)
ClassFileReader reader = null;
Discouraged access: The type 'ClassFileReader' is not API (restriction on classpath entry '/opt/public/eclipse/builds/4M/gitCache/eclipse.platform.releng.aggregator/eclipse.jdt.core/org.eclipse.jdt.core/target/classes')
14. WARNING in /src/org/eclipse/jdt/compiler/tool/tests/CompilerToolJava9Tests.java
 (at line 372)
reader = ClassFileReader.read(new File(tmpFolder, "p/X.class"), true);
Discouraged access: The type 'ClassFileReader' is not API (restriction on classpath entry '/opt/public/eclipse/builds/4M/gitCache/eclipse.platform.releng.aggregator/eclipse.jdt.core/org.eclipse.jdt.core/target/classes')
15. WARNING in /src/org/eclipse/jdt/compiler/tool/tests/CompilerToolJava9Tests.java
 (at line 372)
reader = ClassFileReader.read(new File(tmpFolder, "p/X.class"), true);
Discouraged access: The method 'ClassFileReader.read(File, boolean)' is not API (restriction on classpath entry '/opt/public/eclipse/builds/4M/gitCache/eclipse.platform.releng.aggregator/eclipse.jdt.core/org.eclipse.jdt.core/target/classes')
16. WARNING in /src/org/eclipse/jdt/compiler/tool/tests/CompilerToolJava9Tests.java
 (at line 373)
} catch (ClassFormatException e) {
Discouraged access: The type 'ClassFormatException' is not API (restriction on classpath entry '/opt/public/eclipse/builds/4M/gitCache/eclipse.platform.releng.aggregator/eclipse.jdt.core/org.eclipse.jdt.core/target/classes')
17. WARNING in /src/org/eclipse/jdt/compiler/tool/tests/CompilerToolJava9Tests.java
 (at line 380)
assertEquals("Wrong value", ClassFileConstants.JDK1_8, reader.getVersion());
Discouraged access: The type 'ClassFileConstants' is not API (restriction on classpath entry '/opt/public/eclipse/builds/4M/gitCache/eclipse.platform.releng.aggregator/eclipse.jdt.core/org.eclipse.jdt.core/target/classes')
18. WARNING in /src/org/eclipse/jdt/compiler/tool/tests/CompilerToolJava9Tests.java
 (at line 380)
assertEquals("Wrong value", ClassFileConstants.JDK1_8, reader.getVersion());
Discouraged access: The field 'ClassFileConstants.JDK1_8' is not API (restriction on classpath entry '/opt/public/eclipse/builds/4M/gitCache/eclipse.platform.releng.aggregator/eclipse.jdt.core/org.eclipse.jdt.core/target/classes')
19. WARNING in /src/org/eclipse/jdt/compiler/tool/tests/CompilerToolJava9Tests.java
 (at line 380)
assertEquals("Wrong value", ClassFileConstants.JDK1_8, reader.getVersion());
Discouraged access: The method 'ClassFileReader.getVersion()' is not API (restriction on classpath entry '/opt/public/eclipse/builds/4M/gitCache/eclipse.platform.releng.aggregator/eclipse.jdt.core/org.eclipse.jdt.core/target/classes')

/src/org/eclipse/jdt/compiler/tool/tests/CompilerInvocationTests.java : 28 warnings :

DISCOURAGED ACCESS WARNINGS
1. WARNING in /src/org/eclipse/jdt/compiler/tool/tests/CompilerInvocationTests.java
 (at line 40)
import org.eclipse.jdt.internal.compiler.batch.Main;
Discouraged access: The type 'Main' is not API (restriction on classpath entry '/opt/public/eclipse/builds/4M/gitCache/eclipse.platform.releng.aggregator/eclipse.jdt.core/org.eclipse.jdt.core/target/classes')
2. WARNING in /src/org/eclipse/jdt/compiler/tool/tests/CompilerInvocationTests.java
 (at line 41)
import org.eclipse.jdt.internal.compiler.classfmt.ClassFileConstants;
Discouraged access: The type 'ClassFileConstants' is not API (restriction on classpath entry '/opt/public/eclipse/builds/4M/gitCache/eclipse.platform.releng.aggregator/eclipse.jdt.core/org.eclipse.jdt.core/target/classes')
3. WARNING in /src/org/eclipse/jdt/compiler/tool/tests/CompilerInvocationTests.java
 (at line 42)
import org.eclipse.jdt.internal.compiler.classfmt.ClassFileReader;
Discouraged access: The type 'ClassFileReader' is not API (restriction on classpath entry '/opt/public/eclipse/builds/4M/gitCache/eclipse.platform.releng.aggregator/eclipse.jdt.core/org.eclipse.jdt.core/target/classes')
4. WARNING in /src/org/eclipse/jdt/compiler/tool/tests/CompilerInvocationTests.java
 (at line 43)
import org.eclipse.jdt.internal.compiler.classfmt.ClassFormatException;
Discouraged access: The type 'ClassFormatException' is not API (restriction on classpath entry '/opt/public/eclipse/builds/4M/gitCache/eclipse.platform.releng.aggregator/eclipse.jdt.core/org.eclipse.jdt.core/target/classes')
5. WARNING in /src/org/eclipse/jdt/compiler/tool/tests/CompilerInvocationTests.java
 (at line 57)
return buildUniqueComplianceTestSuite(CompilerInvocationTests.class, ClassFileConstants.JDK1_6);
Discouraged access: The type 'ClassFileConstants' is not API (restriction on classpath entry '/opt/public/eclipse/builds/4M/gitCache/eclipse.platform.releng.aggregator/eclipse.jdt.core/org.eclipse.jdt.core/target/classes')
6. WARNING in /src/org/eclipse/jdt/compiler/tool/tests/CompilerInvocationTests.java
 (at line 57)
return buildUniqueComplianceTestSuite(CompilerInvocationTests.class, ClassFileConstants.JDK1_6);
Discouraged access: The field 'ClassFileConstants.JDK1_6' is not API (restriction on classpath entry '/opt/public/eclipse/builds/4M/gitCache/eclipse.platform.releng.aggregator/eclipse.jdt.core/org.eclipse.jdt.core/target/classes')
7. WARNING in /src/org/eclipse/jdt/compiler/tool/tests/CompilerInvocationTests.java
 (at line 72)
ClassFileReader reader = null;
Discouraged access: The type 'ClassFileReader' is not API (restriction on classpath entry '/opt/public/eclipse/builds/4M/gitCache/eclipse.platform.releng.aggregator/eclipse.jdt.core/org.eclipse.jdt.core/target/classes')
8. WARNING in /src/org/eclipse/jdt/compiler/tool/tests/CompilerInvocationTests.java
 (at line 74)
reader = ClassFileReader.read(new File(OUTPUT_DIR, fileNames[i]), true);
Discouraged access: The type 'ClassFileReader' is not API (restriction on classpath entry '/opt/public/eclipse/builds/4M/gitCache/eclipse.platform.releng.aggregator/eclipse.jdt.core/org.eclipse.jdt.core/target/classes')
9. WARNING in /src/org/eclipse/jdt/compiler/tool/tests/CompilerInvocationTests.java
 (at line 74)
reader = ClassFileReader.read(new File(OUTPUT_DIR, fileNames[i]), true);
Discouraged access: The method 'ClassFileReader.read(File, boolean)' is not API (restriction on classpath entry '/opt/public/eclipse/builds/4M/gitCache/eclipse.platform.releng.aggregator/eclipse.jdt.core/org.eclipse.jdt.core/target/classes')
10. WARNING in /src/org/eclipse/jdt/compiler/tool/tests/CompilerInvocationTests.java
 (at line 75)
} catch (ClassFormatException e) {
Discouraged access: The type 'ClassFormatException' is not API (restriction on classpath entry '/opt/public/eclipse/builds/4M/gitCache/eclipse.platform.releng.aggregator/eclipse.jdt.core/org.eclipse.jdt.core/target/classes')
11. WARNING in /src/org/eclipse/jdt/compiler/tool/tests/CompilerInvocationTests.java
 (at line 81)
assertEquals("Wrong Java version for " + fileNames[i], ClassFileConstants.JDK1_6, reader.getVersion());
Discouraged access: The type 'ClassFileConstants' is not API (restriction on classpath entry '/opt/public/eclipse/builds/4M/gitCache/eclipse.platform.releng.aggregator/eclipse.jdt.core/org.eclipse.jdt.core/target/classes')
12. WARNING in /src/org/eclipse/jdt/compiler/tool/tests/CompilerInvocationTests.java
 (at line 81)
assertEquals("Wrong Java version for " + fileNames[i], ClassFileConstants.JDK1_6, reader.getVersion());
Discouraged access: The field 'ClassFileConstants.JDK1_6' is not API (restriction on classpath entry '/opt/public/eclipse/builds/4M/gitCache/eclipse.platform.releng.aggregator/eclipse.jdt.core/org.eclipse.jdt.core/target/classes')
13. WARNING in /src/org/eclipse/jdt/compiler/tool/tests/CompilerInvocationTests.java
 (at line 81)
assertEquals("Wrong Java version for " + fileNames[i], ClassFileConstants.JDK1_6, reader.getVersion());
Discouraged access: The method 'ClassFileReader.getVersion()' is not API (restriction on classpath entry '/opt/public/eclipse/builds/4M/gitCache/eclipse.platform.releng.aggregator/eclipse.jdt.core/org.eclipse.jdt.core/target/classes')
14. WARNING in /src/org/eclipse/jdt/compiler/tool/tests/CompilerInvocationTests.java
 (at line 517)
COMPILER.getStandardFileManager(null /* diagnosticListener */, null /* locale */, null /* charset */);
Discouraged access: The method 'EclipseCompiler.getStandardFileManager(DiagnosticListener<? super JavaFileObject>, Locale, Charset)' is not API (restriction on classpath entry '/opt/public/eclipse/builds/4M/gitCache/eclipse.platform.releng.aggregator/eclipse.jdt.core/org.eclipse.jdt.compiler.tool/target/classes')
15. WARNING in /src/org/eclipse/jdt/compiler/tool/tests/CompilerInvocationTests.java
 (at line 537)
COMPILER.getStandardFileManager(null /* diagnosticListener */, null /* locale */, null /* charset */);
Discouraged access: The method 'EclipseCompiler.getStandardFileManager(DiagnosticListener<? super JavaFileObject>, Locale, Charset)' is not API (restriction on classpath entry '/opt/public/eclipse/builds/4M/gitCache/eclipse.platform.releng.aggregator/eclipse.jdt.core/org.eclipse.jdt.compiler.tool/target/classes')
16. WARNING in /src/org/eclipse/jdt/compiler/tool/tests/CompilerInvocationTests.java
 (at line 560)
COMPILER.getStandardFileManager(null /* diagnosticListener */, null /* locale */, null /* charset */);
Discouraged access: The method 'EclipseCompiler.getStandardFileManager(DiagnosticListener<? super JavaFileObject>, Locale, Charset)' is not API (restriction on classpath entry '/opt/public/eclipse/builds/4M/gitCache/eclipse.platform.releng.aggregator/eclipse.jdt.core/org.eclipse.jdt.compiler.tool/target/classes')
17. WARNING in /src/org/eclipse/jdt/compiler/tool/tests/CompilerInvocationTests.java
 (at line 581)
passed = COMPILER.getStandardFileManager(null /* diagnosticListener */, null /* locale */, null /* charset */).
Discouraged access: The method 'EclipseCompiler.getStandardFileManager(DiagnosticListener<? super JavaFileObject>, Locale, Charset)' is not API (restriction on classpath entry '/opt/public/eclipse/builds/4M/gitCache/eclipse.platform.releng.aggregator/eclipse.jdt.core/org.eclipse.jdt.compiler.tool/target/classes')
18. WARNING in /src/org/eclipse/jdt/compiler/tool/tests/CompilerInvocationTests.java
 (at line 686)
COMPILER.getStandardFileManager(null /* diagnosticListener */, null /* locale */, null /* charset */),
Discouraged access: The method 'EclipseCompiler.getStandardFileManager(DiagnosticListener<? super JavaFileObject>, Locale, Charset)' is not API (restriction on classpath entry '/opt/public/eclipse/builds/4M/gitCache/eclipse.platform.releng.aggregator/eclipse.jdt.core/org.eclipse.jdt.compiler.tool/target/classes')
19. WARNING in /src/org/eclipse/jdt/compiler/tool/tests/CompilerInvocationTests.java
 (at line 728)
COMPILER.getStandardFileManager(null /* diagnosticListener */, null /* locale */, null /* charset */),
Discouraged access: The method 'EclipseCompiler.getStandardFileManager(DiagnosticListener<? super JavaFileObject>, Locale, Charset)' is not API (restriction on classpath entry '/opt/public/eclipse/builds/4M/gitCache/eclipse.platform.releng.aggregator/eclipse.jdt.core/org.eclipse.jdt.compiler.tool/target/classes')
20. WARNING in /src/org/eclipse/jdt/compiler/tool/tests/CompilerInvocationTests.java
 (at line 787)
COMPILER.getStandardFileManager(null /* diagnosticListener */, null /* locale */, null /* charset */),
Discouraged access: The method 'EclipseCompiler.getStandardFileManager(DiagnosticListener<? super JavaFileObject>, Locale, Charset)' is not API (restriction on classpath entry '/opt/public/eclipse/builds/4M/gitCache/eclipse.platform.releng.aggregator/eclipse.jdt.core/org.eclipse.jdt.compiler.tool/target/classes')
21. WARNING in /src/org/eclipse/jdt/compiler/tool/tests/CompilerInvocationTests.java
 (at line 824)
COMPILER.getStandardFileManager(null /* diagnosticListener */, null /* locale */, null /* charset */),
Discouraged access: The method 'EclipseCompiler.getStandardFileManager(DiagnosticListener<? super JavaFileObject>, Locale, Charset)' is not API (restriction on classpath entry '/opt/public/eclipse/builds/4M/gitCache/eclipse.platform.releng.aggregator/eclipse.jdt.core/org.eclipse.jdt.compiler.tool/target/classes')
22. WARNING in /src/org/eclipse/jdt/compiler/tool/tests/CompilerInvocationTests.java
 (at line 927)
COMPILER.getStandardFileManager(null /* diagnosticListener */, null /* locale */, null /* charset */);
Discouraged access: The method 'EclipseCompiler.getStandardFileManager(DiagnosticListener<? super JavaFileObject>, Locale, Charset)' is not API (restriction on classpath entry '/opt/public/eclipse/builds/4M/gitCache/eclipse.platform.releng.aggregator/eclipse.jdt.core/org.eclipse.jdt.compiler.tool/target/classes')
23. WARNING in /src/org/eclipse/jdt/compiler/tool/tests/CompilerInvocationTests.java
 (at line 957)
COMPILER.getStandardFileManager(null /* diagnosticListener */, null /* locale */, null /* charset */);
Discouraged access: The method 'EclipseCompiler.getStandardFileManager(DiagnosticListener<? super JavaFileObject>, Locale, Charset)' is not API (restriction on classpath entry '/opt/public/eclipse/builds/4M/gitCache/eclipse.platform.releng.aggregator/eclipse.jdt.core/org.eclipse.jdt.compiler.tool/target/classes')
24. WARNING in /src/org/eclipse/jdt/compiler/tool/tests/CompilerInvocationTests.java
 (at line 989)
CompilationTask task = COMPILER.getTask( new PrintWriter(outBuffer), COMPILER.getStandardFileManager(null /* diagnosticListener */, null /* locale */, null /* charset */), new CompilerInvocationDiagnosticListener(new PrintWriter(errBuffer)), Arrays.asList("-v"), null, null);
Discouraged access: The method 'EclipseCompiler.getTask(Writer, JavaFileManager, DiagnosticListener<? super JavaFileObject>, Iterable<String>, Iterable<String>, Iterable<? extends JavaFileObject>)' is not API (restriction on classpath entry '/opt/public/eclipse/builds/4M/gitCache/eclipse.platform.releng.aggregator/eclipse.jdt.core/org.eclipse.jdt.compiler.tool/target/classes')
25. WARNING in /src/org/eclipse/jdt/compiler/tool/tests/CompilerInvocationTests.java
 (at line 991)
COMPILER.getStandardFileManager(null /* diagnosticListener */, null /* locale */, null /* charset */),
Discouraged access: The method 'EclipseCompiler.getStandardFileManager(DiagnosticListener<? super JavaFileObject>, Locale, Charset)' is not API (restriction on classpath entry '/opt/public/eclipse/builds/4M/gitCache/eclipse.platform.releng.aggregator/eclipse.jdt.core/org.eclipse.jdt.compiler.tool/target/classes')
26. WARNING in /src/org/eclipse/jdt/compiler/tool/tests/CompilerInvocationTests.java
 (at line 998)
resourceAsStream = Main.class.getResourceAsStream("messages.properties");
Discouraged access: The type 'Main' is not API (restriction on classpath entry '/opt/public/eclipse/builds/4M/gitCache/eclipse.platform.releng.aggregator/eclipse.jdt.core/org.eclipse.jdt.core/target/classes')
27. WARNING in /src/org/eclipse/jdt/compiler/tool/tests/CompilerInvocationTests.java
 (at line 1018)
CompilationTask task = COMPILER.getTask( null, COMPILER.getStandardFileManager(null /* diagnosticListener */, null /* locale */, null /* charset */), new CompilerInvocationDiagnosticListener(new PrintWriter(errBuffer)), Arrays.asList("-v"), null, null);
Discouraged access: The method 'EclipseCompiler.getTask(Writer, JavaFileManager, DiagnosticListener<? super JavaFileObject>, Iterable<String>, Iterable<String>, Iterable<? extends JavaFileObject>)' is not API (restriction on classpath entry '/opt/public/eclipse/builds/4M/gitCache/eclipse.platform.releng.aggregator/eclipse.jdt.core/org.eclipse.jdt.compiler.tool/target/classes')
28. WARNING in /src/org/eclipse/jdt/compiler/tool/tests/CompilerInvocationTests.java
 (at line 1020)
COMPILER.getStandardFileManager(null /* diagnosticListener */, null /* locale */, null /* charset */),
Discouraged access: The method 'EclipseCompiler.getStandardFileManager(DiagnosticListener<? super JavaFileObject>, Locale, Charset)' is not API (restriction on classpath entry '/opt/public/eclipse/builds/4M/gitCache/eclipse.platform.releng.aggregator/eclipse.jdt.core/org.eclipse.jdt.compiler.tool/target/classes')

/src/org/eclipse/jdt/compiler/tool/tests/CompilerToolTests.java : 19 warnings :

DISCOURAGED ACCESS WARNINGS
1. WARNING in /src/org/eclipse/jdt/compiler/tool/tests/CompilerToolTests.java
 (at line 47)
import org.eclipse.jdt.internal.compiler.classfmt.ClassFileConstants;
Discouraged access: The type 'ClassFileConstants' is not API (restriction on classpath entry '/opt/public/eclipse/builds/4M/gitCache/eclipse.platform.releng.aggregator/eclipse.jdt.core/org.eclipse.jdt.core/target/classes')
2. WARNING in /src/org/eclipse/jdt/compiler/tool/tests/CompilerToolTests.java
 (at line 48)
import org.eclipse.jdt.internal.compiler.classfmt.ClassFileReader;
Discouraged access: The type 'ClassFileReader' is not API (restriction on classpath entry '/opt/public/eclipse/builds/4M/gitCache/eclipse.platform.releng.aggregator/eclipse.jdt.core/org.eclipse.jdt.core/target/classes')
3. WARNING in /src/org/eclipse/jdt/compiler/tool/tests/CompilerToolTests.java
 (at line 49)
import org.eclipse.jdt.internal.compiler.classfmt.ClassFormatException;
Discouraged access: The type 'ClassFormatException' is not API (restriction on classpath entry '/opt/public/eclipse/builds/4M/gitCache/eclipse.platform.releng.aggregator/eclipse.jdt.core/org.eclipse.jdt.core/target/classes')
4. WARNING in /src/org/eclipse/jdt/compiler/tool/tests/CompilerToolTests.java
 (at line 50)
import org.eclipse.jdt.internal.compiler.tool.EclipseCompiler;
Discouraged access: The type 'EclipseCompiler' is not API (restriction on classpath entry '/opt/public/eclipse/builds/4M/gitCache/eclipse.platform.releng.aggregator/eclipse.jdt.core/org.eclipse.jdt.compiler.tool/target/classes')
5. WARNING in /src/org/eclipse/jdt/compiler/tool/tests/CompilerToolTests.java
 (at line 152)
if (javaCompiler instanceof EclipseCompiler) {
Discouraged access: The type 'EclipseCompiler' is not API (restriction on classpath entry '/opt/public/eclipse/builds/4M/gitCache/eclipse.platform.releng.aggregator/eclipse.jdt.core/org.eclipse.jdt.compiler.tool/target/classes')
6. WARNING in /src/org/eclipse/jdt/compiler/tool/tests/CompilerToolTests.java
 (at line 456)
ClassFileReader reader = null;
Discouraged access: The type 'ClassFileReader' is not API (restriction on classpath entry '/opt/public/eclipse/builds/4M/gitCache/eclipse.platform.releng.aggregator/eclipse.jdt.core/org.eclipse.jdt.core/target/classes')
7. WARNING in /src/org/eclipse/jdt/compiler/tool/tests/CompilerToolTests.java
 (at line 458)
reader = ClassFileReader.read(new File(tmpFolder, "p/X.class"), true);
Discouraged access: The type 'ClassFileReader' is not API (restriction on classpath entry '/opt/public/eclipse/builds/4M/gitCache/eclipse.platform.releng.aggregator/eclipse.jdt.core/org.eclipse.jdt.core/target/classes')
8. WARNING in /src/org/eclipse/jdt/compiler/tool/tests/CompilerToolTests.java
 (at line 458)
reader = ClassFileReader.read(new File(tmpFolder, "p/X.class"), true);
Discouraged access: The method 'ClassFileReader.read(File, boolean)' is not API (restriction on classpath entry '/opt/public/eclipse/builds/4M/gitCache/eclipse.platform.releng.aggregator/eclipse.jdt.core/org.eclipse.jdt.core/target/classes')
9. WARNING in /src/org/eclipse/jdt/compiler/tool/tests/CompilerToolTests.java
 (at line 459)
} catch (ClassFormatException e) {
Discouraged access: The type 'ClassFormatException' is not API (restriction on classpath entry '/opt/public/eclipse/builds/4M/gitCache/eclipse.platform.releng.aggregator/eclipse.jdt.core/org.eclipse.jdt.core/target/classes')
10. WARNING in /src/org/eclipse/jdt/compiler/tool/tests/CompilerToolTests.java
 (at line 466)
assertEquals("Wrong value", ClassFileConstants.JDK9, reader.getVersion());
Discouraged access: The type 'ClassFileConstants' is not API (restriction on classpath entry '/opt/public/eclipse/builds/4M/gitCache/eclipse.platform.releng.aggregator/eclipse.jdt.core/org.eclipse.jdt.core/target/classes')
11. WARNING in /src/org/eclipse/jdt/compiler/tool/tests/CompilerToolTests.java
 (at line 466)
assertEquals("Wrong value", ClassFileConstants.JDK9, reader.getVersion());
Discouraged access: The field 'ClassFileConstants.JDK9' is not API (restriction on classpath entry '/opt/public/eclipse/builds/4M/gitCache/eclipse.platform.releng.aggregator/eclipse.jdt.core/org.eclipse.jdt.core/target/classes')
12. WARNING in /src/org/eclipse/jdt/compiler/tool/tests/CompilerToolTests.java
 (at line 466)
assertEquals("Wrong value", ClassFileConstants.JDK9, reader.getVersion());
Discouraged access: The method 'ClassFileReader.getVersion()' is not API (restriction on classpath entry '/opt/public/eclipse/builds/4M/gitCache/eclipse.platform.releng.aggregator/eclipse.jdt.core/org.eclipse.jdt.core/target/classes')
13. WARNING in /src/org/eclipse/jdt/compiler/tool/tests/CompilerToolTests.java
 (at line 536)
ClassFileReader reader = null;
Discouraged access: The type 'ClassFileReader' is not API (restriction on classpath entry '/opt/public/eclipse/builds/4M/gitCache/eclipse.platform.releng.aggregator/eclipse.jdt.core/org.eclipse.jdt.core/target/classes')
14. WARNING in /src/org/eclipse/jdt/compiler/tool/tests/CompilerToolTests.java
 (at line 538)
reader = ClassFileReader.read(outputFile);
Discouraged access: The type 'ClassFileReader' is not API (restriction on classpath entry '/opt/public/eclipse/builds/4M/gitCache/eclipse.platform.releng.aggregator/eclipse.jdt.core/org.eclipse.jdt.core/target/classes')
15. WARNING in /src/org/eclipse/jdt/compiler/tool/tests/CompilerToolTests.java
 (at line 538)
reader = ClassFileReader.read(outputFile);
Discouraged access: The method 'ClassFileReader.read(File)' is not API (restriction on classpath entry '/opt/public/eclipse/builds/4M/gitCache/eclipse.platform.releng.aggregator/eclipse.jdt.core/org.eclipse.jdt.core/target/classes')
16. WARNING in /src/org/eclipse/jdt/compiler/tool/tests/CompilerToolTests.java
 (at line 539)
} catch (ClassFormatException e) {
Discouraged access: The type 'ClassFormatException' is not API (restriction on classpath entry '/opt/public/eclipse/builds/4M/gitCache/eclipse.platform.releng.aggregator/eclipse.jdt.core/org.eclipse.jdt.core/target/classes')
17. WARNING in /src/org/eclipse/jdt/compiler/tool/tests/CompilerToolTests.java
 (at line 545)
assertEquals("Not a 1.5 .class file", ClassFileConstants.JDK1_5, reader.getVersion());
Discouraged access: The type 'ClassFileConstants' is not API (restriction on classpath entry '/opt/public/eclipse/builds/4M/gitCache/eclipse.platform.releng.aggregator/eclipse.jdt.core/org.eclipse.jdt.core/target/classes')
18. WARNING in /src/org/eclipse/jdt/compiler/tool/tests/CompilerToolTests.java
 (at line 545)
assertEquals("Not a 1.5 .class file", ClassFileConstants.JDK1_5, reader.getVersion());
Discouraged access: The field 'ClassFileConstants.JDK1_5' is not API (restriction on classpath entry '/opt/public/eclipse/builds/4M/gitCache/eclipse.platform.releng.aggregator/eclipse.jdt.core/org.eclipse.jdt.core/target/classes')
19. WARNING in /src/org/eclipse/jdt/compiler/tool/tests/CompilerToolTests.java
 (at line 545)
assertEquals("Not a 1.5 .class file", ClassFileConstants.JDK1_5, reader.getVersion());
Discouraged access: The method 'ClassFileReader.getVersion()' is not API (restriction on classpath entry '/opt/public/eclipse/builds/4M/gitCache/eclipse.platform.releng.aggregator/eclipse.jdt.core/org.eclipse.jdt.core/target/classes')