Compiler log for org.eclipse.jdt.compiler.tool.tests_1.2.500.v20190113-0810 : @dot.xml

TOTAL : ERRORS: 0, WARNINGS: 79, 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/CompilerInvocationTests.java : 28 warnings :

DISCOURAGED ACCESS WARNINGS
1. WARNING in /src/org/eclipse/jdt/compiler/tool/tests/CompilerInvocationTests.java
 (at line 43)
import org.eclipse.jdt.internal.compiler.batch.Main;
Discouraged access: The type 'Main' is not API (restriction on classpath entry '/opt/public/eclipse/builds/4I/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 44)
import org.eclipse.jdt.internal.compiler.classfmt.ClassFileConstants;
Discouraged access: The type 'ClassFileConstants' is not API (restriction on classpath entry '/opt/public/eclipse/builds/4I/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 45)
import org.eclipse.jdt.internal.compiler.classfmt.ClassFileReader;
Discouraged access: The type 'ClassFileReader' is not API (restriction on classpath entry '/opt/public/eclipse/builds/4I/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 46)
import org.eclipse.jdt.internal.compiler.classfmt.ClassFormatException;
Discouraged access: The type 'ClassFormatException' is not API (restriction on classpath entry '/opt/public/eclipse/builds/4I/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 60)
return buildUniqueComplianceTestSuite(CompilerInvocationTests.class, ClassFileConstants.JDK1_6);
Discouraged access: The type 'ClassFileConstants' is not API (restriction on classpath entry '/opt/public/eclipse/builds/4I/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 60)
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/4I/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 75)
ClassFileReader reader = null;
Discouraged access: The type 'ClassFileReader' is not API (restriction on classpath entry '/opt/public/eclipse/builds/4I/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 77)
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/4I/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 77)
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/4I/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 78)
} catch (ClassFormatException e) {
Discouraged access: The type 'ClassFormatException' is not API (restriction on classpath entry '/opt/public/eclipse/builds/4I/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 84)
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/4I/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 84)
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/4I/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 84)
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/4I/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 520)
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/4I/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 540)
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/4I/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 563)
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/4I/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 584)
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/4I/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 689)
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/4I/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 731)
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/4I/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 790)
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/4I/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 827)
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/4I/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 930)
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/4I/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 960)
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/4I/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 992)
CompilationTask task = COMPILER.getTask(
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/4I/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 994)
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/4I/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 1001)
resourceAsStream = Main.class.getResourceAsStream("messages.properties");
Discouraged access: The type 'Main' is not API (restriction on classpath entry '/opt/public/eclipse/builds/4I/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 1021)
CompilationTask task = COMPILER.getTask(
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/4I/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 1023)
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/4I/gitCache/eclipse.platform.releng.aggregator/eclipse.jdt.core/org.eclipse.jdt.compiler.tool/target/classes')

/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 32)
import org.eclipse.jdt.internal.compiler.tool.EclipseCompiler;
Discouraged access: The type 'EclipseCompiler' is not API (restriction on classpath entry '/opt/public/eclipse/builds/4I/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 92)
static EclipseCompiler COMPILER = new EclipseCompiler();
Discouraged access: The type 'EclipseCompiler' is not API (restriction on classpath entry '/opt/public/eclipse/builds/4I/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 92)
static EclipseCompiler COMPILER = new EclipseCompiler();
Discouraged access: The type 'EclipseCompiler' is not API (restriction on classpath entry '/opt/public/eclipse/builds/4I/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 92)
static EclipseCompiler COMPILER = new EclipseCompiler();
Discouraged access: The constructor 'EclipseCompiler()' is not API (restriction on classpath entry '/opt/public/eclipse/builds/4I/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 104)
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/4I/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 117)
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/4I/gitCache/eclipse.platform.releng.aggregator/eclipse.jdt.core/org.eclipse.jdt.compiler.tool/target/classes')

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

DISCOURAGED ACCESS WARNINGS
1. WARNING in /src/org/eclipse/jdt/compiler/tool/tests/CompilerToolJava9Tests.java
 (at line 53)
import org.eclipse.jdt.internal.compiler.classfmt.ClassFileConstants;
Discouraged access: The type 'ClassFileConstants' is not API (restriction on classpath entry '/opt/public/eclipse/builds/4I/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 54)
import org.eclipse.jdt.internal.compiler.classfmt.ClassFileReader;
Discouraged access: The type 'ClassFileReader' is not API (restriction on classpath entry '/opt/public/eclipse/builds/4I/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 55)
import org.eclipse.jdt.internal.compiler.classfmt.ClassFormatException;
Discouraged access: The type 'ClassFormatException' is not API (restriction on classpath entry '/opt/public/eclipse/builds/4I/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 56)
import org.eclipse.jdt.internal.compiler.tool.EclipseCompiler;
Discouraged access: The type 'EclipseCompiler' is not API (restriction on classpath entry '/opt/public/eclipse/builds/4I/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 88)
ServiceLoader<JavaCompiler> javaCompilerLoader = ServiceLoader.load(JavaCompiler.class, EclipseCompiler.class.getClassLoader());
Discouraged access: The type 'EclipseCompiler' is not API (restriction on classpath entry '/opt/public/eclipse/builds/4I/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 90)
if (compiler instanceof EclipseCompiler) {
Discouraged access: The type 'EclipseCompiler' is not API (restriction on classpath entry '/opt/public/eclipse/builds/4I/gitCache/eclipse.platform.releng.aggregator/eclipse.jdt.core/org.eclipse.jdt.compiler.tool/target/classes')
7. WARNING in /src/org/eclipse/jdt/compiler/tool/tests/CompilerToolJava9Tests.java
 (at line 163)
if (!(compiler instanceof EclipseCompiler) &&
Discouraged access: The type 'EclipseCompiler' is not API (restriction on classpath entry '/opt/public/eclipse/builds/4I/gitCache/eclipse.platform.releng.aggregator/eclipse.jdt.core/org.eclipse.jdt.compiler.tool/target/classes')
8. WARNING in /src/org/eclipse/jdt/compiler/tool/tests/CompilerToolJava9Tests.java
 (at line 182)
if (!(compiler instanceof EclipseCompiler))
Discouraged access: The type 'EclipseCompiler' is not API (restriction on classpath entry '/opt/public/eclipse/builds/4I/gitCache/eclipse.platform.releng.aggregator/eclipse.jdt.core/org.eclipse.jdt.compiler.tool/target/classes')
9. WARNING in /src/org/eclipse/jdt/compiler/tool/tests/CompilerToolJava9Tests.java
 (at line 203)
if (!(compiler instanceof EclipseCompiler))
Discouraged access: The type 'EclipseCompiler' is not API (restriction on classpath entry '/opt/public/eclipse/builds/4I/gitCache/eclipse.platform.releng.aggregator/eclipse.jdt.core/org.eclipse.jdt.compiler.tool/target/classes')
10. WARNING in /src/org/eclipse/jdt/compiler/tool/tests/CompilerToolJava9Tests.java
 (at line 295)
ClassFileReader reader = null;
Discouraged access: The type 'ClassFileReader' is not API (restriction on classpath entry '/opt/public/eclipse/builds/4I/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 297)
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/4I/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 297)
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/4I/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 298)
} catch (ClassFormatException e) {
Discouraged access: The type 'ClassFormatException' is not API (restriction on classpath entry '/opt/public/eclipse/builds/4I/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 305)
assertEquals("Wrong value", ClassFileConstants.JDK1_8, reader.getVersion());
Discouraged access: The type 'ClassFileConstants' is not API (restriction on classpath entry '/opt/public/eclipse/builds/4I/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 305)
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/4I/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 305)
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/4I/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 386)
ClassFileReader reader = null;
Discouraged access: The type 'ClassFileReader' is not API (restriction on classpath entry '/opt/public/eclipse/builds/4I/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 388)
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/4I/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 388)
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/4I/gitCache/eclipse.platform.releng.aggregator/eclipse.jdt.core/org.eclipse.jdt.core/target/classes')
20. WARNING in /src/org/eclipse/jdt/compiler/tool/tests/CompilerToolJava9Tests.java
 (at line 389)
} catch (ClassFormatException e) {
Discouraged access: The type 'ClassFormatException' is not API (restriction on classpath entry '/opt/public/eclipse/builds/4I/gitCache/eclipse.platform.releng.aggregator/eclipse.jdt.core/org.eclipse.jdt.core/target/classes')
21. WARNING in /src/org/eclipse/jdt/compiler/tool/tests/CompilerToolJava9Tests.java
 (at line 396)
assertEquals("Wrong value", ClassFileConstants.JDK1_8, reader.getVersion());
Discouraged access: The type 'ClassFileConstants' is not API (restriction on classpath entry '/opt/public/eclipse/builds/4I/gitCache/eclipse.platform.releng.aggregator/eclipse.jdt.core/org.eclipse.jdt.core/target/classes')
22. WARNING in /src/org/eclipse/jdt/compiler/tool/tests/CompilerToolJava9Tests.java
 (at line 396)
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/4I/gitCache/eclipse.platform.releng.aggregator/eclipse.jdt.core/org.eclipse.jdt.core/target/classes')
23. WARNING in /src/org/eclipse/jdt/compiler/tool/tests/CompilerToolJava9Tests.java
 (at line 396)
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/4I/gitCache/eclipse.platform.releng.aggregator/eclipse.jdt.core/org.eclipse.jdt.core/target/classes')
24. WARNING in /src/org/eclipse/jdt/compiler/tool/tests/CompilerToolJava9Tests.java
 (at line 482)
if (!(compiler instanceof EclipseCompiler))
Discouraged access: The type 'EclipseCompiler' is not API (restriction on classpath entry '/opt/public/eclipse/builds/4I/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/CompilerToolJava9Tests.java
 (at line 502)
if (!(compiler instanceof EclipseCompiler))
Discouraged access: The type 'EclipseCompiler' is not API (restriction on classpath entry '/opt/public/eclipse/builds/4I/gitCache/eclipse.platform.releng.aggregator/eclipse.jdt.core/org.eclipse.jdt.compiler.tool/target/classes')

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

DISCOURAGED ACCESS WARNINGS
1. WARNING in /src/org/eclipse/jdt/compiler/tool/tests/CompilerToolTests.java
 (at line 52)
import org.eclipse.jdt.internal.compiler.classfmt.ClassFileConstants;
Discouraged access: The type 'ClassFileConstants' is not API (restriction on classpath entry '/opt/public/eclipse/builds/4I/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 53)
import org.eclipse.jdt.internal.compiler.classfmt.ClassFileReader;
Discouraged access: The type 'ClassFileReader' is not API (restriction on classpath entry '/opt/public/eclipse/builds/4I/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 54)
import org.eclipse.jdt.internal.compiler.classfmt.ClassFormatException;
Discouraged access: The type 'ClassFormatException' is not API (restriction on classpath entry '/opt/public/eclipse/builds/4I/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 55)
import org.eclipse.jdt.internal.compiler.tool.EclipseCompiler;
Discouraged access: The type 'EclipseCompiler' is not API (restriction on classpath entry '/opt/public/eclipse/builds/4I/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 153)
ServiceLoader<JavaCompiler> javaCompilerLoader = ServiceLoader.load(JavaCompiler.class, EclipseCompiler.class.getClassLoader());
Discouraged access: The type 'EclipseCompiler' is not API (restriction on classpath entry '/opt/public/eclipse/builds/4I/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 157)
if (javaCompiler instanceof EclipseCompiler) {
Discouraged access: The type 'EclipseCompiler' is not API (restriction on classpath entry '/opt/public/eclipse/builds/4I/gitCache/eclipse.platform.releng.aggregator/eclipse.jdt.core/org.eclipse.jdt.compiler.tool/target/classes')
7. WARNING in /src/org/eclipse/jdt/compiler/tool/tests/CompilerToolTests.java
 (at line 461)
ClassFileReader reader = null;
Discouraged access: The type 'ClassFileReader' is not API (restriction on classpath entry '/opt/public/eclipse/builds/4I/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 463)
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/4I/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 463)
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/4I/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 464)
} catch (ClassFormatException e) {
Discouraged access: The type 'ClassFormatException' is not API (restriction on classpath entry '/opt/public/eclipse/builds/4I/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 471)
assertEquals("Wrong value", ClassFileConstants.getLatestJDKLevel(), reader.getVersion()); // TODO: Fix this for JDK11
Discouraged access: The type 'ClassFileConstants' is not API (restriction on classpath entry '/opt/public/eclipse/builds/4I/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 471)
assertEquals("Wrong value", ClassFileConstants.getLatestJDKLevel(), reader.getVersion()); // TODO: Fix this for JDK11
Discouraged access: The method 'ClassFileConstants.getLatestJDKLevel()' is not API (restriction on classpath entry '/opt/public/eclipse/builds/4I/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 471)
assertEquals("Wrong value", ClassFileConstants.getLatestJDKLevel(), reader.getVersion()); // TODO: Fix this for JDK11
Discouraged access: The method 'ClassFileReader.getVersion()' is not API (restriction on classpath entry '/opt/public/eclipse/builds/4I/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 541)
ClassFileReader reader = null;
Discouraged access: The type 'ClassFileReader' is not API (restriction on classpath entry '/opt/public/eclipse/builds/4I/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 543)
reader = ClassFileReader.read(outputFile);
Discouraged access: The type 'ClassFileReader' is not API (restriction on classpath entry '/opt/public/eclipse/builds/4I/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 543)
reader = ClassFileReader.read(outputFile);
Discouraged access: The method 'ClassFileReader.read(File)' is not API (restriction on classpath entry '/opt/public/eclipse/builds/4I/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 544)
} catch (ClassFormatException e) {
Discouraged access: The type 'ClassFormatException' is not API (restriction on classpath entry '/opt/public/eclipse/builds/4I/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 550)
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/4I/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 550)
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/4I/gitCache/eclipse.platform.releng.aggregator/eclipse.jdt.core/org.eclipse.jdt.core/target/classes')
20. WARNING in /src/org/eclipse/jdt/compiler/tool/tests/CompilerToolTests.java
 (at line 550)
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/4I/gitCache/eclipse.platform.releng.aggregator/eclipse.jdt.core/org.eclipse.jdt.core/target/classes')