Compiler log for org.eclipse.jdt.compiler.tool.tests_1.2.800.v20200828-0941 : @dot.xml

TOTAL : ERRORS: 0, WARNINGS: 85, 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 '/home/jenkins/agent/workspace/I-build-4.17/eclipse.platform.releng.aggregator/eclipse.platform.releng.aggregator/cje-production/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 '/home/jenkins/agent/workspace/I-build-4.17/eclipse.platform.releng.aggregator/eclipse.platform.releng.aggregator/cje-production/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 '/home/jenkins/agent/workspace/I-build-4.17/eclipse.platform.releng.aggregator/eclipse.platform.releng.aggregator/cje-production/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 '/home/jenkins/agent/workspace/I-build-4.17/eclipse.platform.releng.aggregator/eclipse.platform.releng.aggregator/cje-production/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 '/home/jenkins/agent/workspace/I-build-4.17/eclipse.platform.releng.aggregator/eclipse.platform.releng.aggregator/cje-production/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 '/home/jenkins/agent/workspace/I-build-4.17/eclipse.platform.releng.aggregator/eclipse.platform.releng.aggregator/cje-production/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 '/home/jenkins/agent/workspace/I-build-4.17/eclipse.platform.releng.aggregator/eclipse.platform.releng.aggregator/cje-production/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 '/home/jenkins/agent/workspace/I-build-4.17/eclipse.platform.releng.aggregator/eclipse.platform.releng.aggregator/cje-production/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 '/home/jenkins/agent/workspace/I-build-4.17/eclipse.platform.releng.aggregator/eclipse.platform.releng.aggregator/cje-production/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 '/home/jenkins/agent/workspace/I-build-4.17/eclipse.platform.releng.aggregator/eclipse.platform.releng.aggregator/cje-production/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 '/home/jenkins/agent/workspace/I-build-4.17/eclipse.platform.releng.aggregator/eclipse.platform.releng.aggregator/cje-production/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 '/home/jenkins/agent/workspace/I-build-4.17/eclipse.platform.releng.aggregator/eclipse.platform.releng.aggregator/cje-production/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 '/home/jenkins/agent/workspace/I-build-4.17/eclipse.platform.releng.aggregator/eclipse.platform.releng.aggregator/cje-production/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 '/home/jenkins/agent/workspace/I-build-4.17/eclipse.platform.releng.aggregator/eclipse.platform.releng.aggregator/cje-production/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 '/home/jenkins/agent/workspace/I-build-4.17/eclipse.platform.releng.aggregator/eclipse.platform.releng.aggregator/cje-production/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 '/home/jenkins/agent/workspace/I-build-4.17/eclipse.platform.releng.aggregator/eclipse.platform.releng.aggregator/cje-production/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 '/home/jenkins/agent/workspace/I-build-4.17/eclipse.platform.releng.aggregator/eclipse.platform.releng.aggregator/cje-production/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 '/home/jenkins/agent/workspace/I-build-4.17/eclipse.platform.releng.aggregator/eclipse.platform.releng.aggregator/cje-production/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 '/home/jenkins/agent/workspace/I-build-4.17/eclipse.platform.releng.aggregator/eclipse.platform.releng.aggregator/cje-production/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 '/home/jenkins/agent/workspace/I-build-4.17/eclipse.platform.releng.aggregator/eclipse.platform.releng.aggregator/cje-production/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 '/home/jenkins/agent/workspace/I-build-4.17/eclipse.platform.releng.aggregator/eclipse.platform.releng.aggregator/cje-production/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 '/home/jenkins/agent/workspace/I-build-4.17/eclipse.platform.releng.aggregator/eclipse.platform.releng.aggregator/cje-production/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 '/home/jenkins/agent/workspace/I-build-4.17/eclipse.platform.releng.aggregator/eclipse.platform.releng.aggregator/cje-production/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 '/home/jenkins/agent/workspace/I-build-4.17/eclipse.platform.releng.aggregator/eclipse.platform.releng.aggregator/cje-production/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 '/home/jenkins/agent/workspace/I-build-4.17/eclipse.platform.releng.aggregator/eclipse.platform.releng.aggregator/cje-production/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 '/home/jenkins/agent/workspace/I-build-4.17/eclipse.platform.releng.aggregator/eclipse.platform.releng.aggregator/cje-production/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 '/home/jenkins/agent/workspace/I-build-4.17/eclipse.platform.releng.aggregator/eclipse.platform.releng.aggregator/cje-production/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 '/home/jenkins/agent/workspace/I-build-4.17/eclipse.platform.releng.aggregator/eclipse.platform.releng.aggregator/cje-production/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 '/home/jenkins/agent/workspace/I-build-4.17/eclipse.platform.releng.aggregator/eclipse.platform.releng.aggregator/cje-production/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 '/home/jenkins/agent/workspace/I-build-4.17/eclipse.platform.releng.aggregator/eclipse.platform.releng.aggregator/cje-production/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 '/home/jenkins/agent/workspace/I-build-4.17/eclipse.platform.releng.aggregator/eclipse.platform.releng.aggregator/cje-production/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 '/home/jenkins/agent/workspace/I-build-4.17/eclipse.platform.releng.aggregator/eclipse.platform.releng.aggregator/cje-production/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 '/home/jenkins/agent/workspace/I-build-4.17/eclipse.platform.releng.aggregator/eclipse.platform.releng.aggregator/cje-production/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 '/home/jenkins/agent/workspace/I-build-4.17/eclipse.platform.releng.aggregator/eclipse.platform.releng.aggregator/cje-production/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 57)
import org.eclipse.jdt.internal.compiler.classfmt.ClassFileConstants;
Discouraged access: The type 'ClassFileConstants' is not API (restriction on classpath entry '/home/jenkins/agent/workspace/I-build-4.17/eclipse.platform.releng.aggregator/eclipse.platform.releng.aggregator/cje-production/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 58)
import org.eclipse.jdt.internal.compiler.classfmt.ClassFileReader;
Discouraged access: The type 'ClassFileReader' is not API (restriction on classpath entry '/home/jenkins/agent/workspace/I-build-4.17/eclipse.platform.releng.aggregator/eclipse.platform.releng.aggregator/cje-production/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 59)
import org.eclipse.jdt.internal.compiler.classfmt.ClassFormatException;
Discouraged access: The type 'ClassFormatException' is not API (restriction on classpath entry '/home/jenkins/agent/workspace/I-build-4.17/eclipse.platform.releng.aggregator/eclipse.platform.releng.aggregator/cje-production/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 60)
import org.eclipse.jdt.internal.compiler.tool.EclipseCompiler;
Discouraged access: The type 'EclipseCompiler' is not API (restriction on classpath entry '/home/jenkins/agent/workspace/I-build-4.17/eclipse.platform.releng.aggregator/eclipse.platform.releng.aggregator/cje-production/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 92)
ServiceLoader<JavaCompiler> javaCompilerLoader = ServiceLoader.load(JavaCompiler.class, EclipseCompiler.class.getClassLoader());
Discouraged access: The type 'EclipseCompiler' is not API (restriction on classpath entry '/home/jenkins/agent/workspace/I-build-4.17/eclipse.platform.releng.aggregator/eclipse.platform.releng.aggregator/cje-production/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 94)
if (compiler instanceof EclipseCompiler) {
Discouraged access: The type 'EclipseCompiler' is not API (restriction on classpath entry '/home/jenkins/agent/workspace/I-build-4.17/eclipse.platform.releng.aggregator/eclipse.platform.releng.aggregator/cje-production/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 167)
if (!(compiler instanceof EclipseCompiler) &&
Discouraged access: The type 'EclipseCompiler' is not API (restriction on classpath entry '/home/jenkins/agent/workspace/I-build-4.17/eclipse.platform.releng.aggregator/eclipse.platform.releng.aggregator/cje-production/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 185)
if (!(compiler instanceof EclipseCompiler))
Discouraged access: The type 'EclipseCompiler' is not API (restriction on classpath entry '/home/jenkins/agent/workspace/I-build-4.17/eclipse.platform.releng.aggregator/eclipse.platform.releng.aggregator/cje-production/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 206)
if (!(compiler instanceof EclipseCompiler))
Discouraged access: The type 'EclipseCompiler' is not API (restriction on classpath entry '/home/jenkins/agent/workspace/I-build-4.17/eclipse.platform.releng.aggregator/eclipse.platform.releng.aggregator/cje-production/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 298)
ClassFileReader reader = null;
Discouraged access: The type 'ClassFileReader' is not API (restriction on classpath entry '/home/jenkins/agent/workspace/I-build-4.17/eclipse.platform.releng.aggregator/eclipse.platform.releng.aggregator/cje-production/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 300)
reader = ClassFileReader.read(new File(tmpFolder, "p/X.class"), true);
Discouraged access: The type 'ClassFileReader' is not API (restriction on classpath entry '/home/jenkins/agent/workspace/I-build-4.17/eclipse.platform.releng.aggregator/eclipse.platform.releng.aggregator/cje-production/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 300)
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 '/home/jenkins/agent/workspace/I-build-4.17/eclipse.platform.releng.aggregator/eclipse.platform.releng.aggregator/cje-production/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 301)
} catch (ClassFormatException e) {
Discouraged access: The type 'ClassFormatException' is not API (restriction on classpath entry '/home/jenkins/agent/workspace/I-build-4.17/eclipse.platform.releng.aggregator/eclipse.platform.releng.aggregator/cje-production/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 308)
assertEquals("Wrong value", ClassFileConstants.JDK1_8, reader.getVersion());
Discouraged access: The type 'ClassFileConstants' is not API (restriction on classpath entry '/home/jenkins/agent/workspace/I-build-4.17/eclipse.platform.releng.aggregator/eclipse.platform.releng.aggregator/cje-production/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 308)
assertEquals("Wrong value", ClassFileConstants.JDK1_8, reader.getVersion());
Discouraged access: The field 'ClassFileConstants.JDK1_8' is not API (restriction on classpath entry '/home/jenkins/agent/workspace/I-build-4.17/eclipse.platform.releng.aggregator/eclipse.platform.releng.aggregator/cje-production/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 308)
assertEquals("Wrong value", ClassFileConstants.JDK1_8, reader.getVersion());
Discouraged access: The method 'ClassFileReader.getVersion()' is not API (restriction on classpath entry '/home/jenkins/agent/workspace/I-build-4.17/eclipse.platform.releng.aggregator/eclipse.platform.releng.aggregator/cje-production/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 389)
ClassFileReader reader = null;
Discouraged access: The type 'ClassFileReader' is not API (restriction on classpath entry '/home/jenkins/agent/workspace/I-build-4.17/eclipse.platform.releng.aggregator/eclipse.platform.releng.aggregator/cje-production/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 391)
reader = ClassFileReader.read(new File(tmpFolder, "p/X.class"), true);
Discouraged access: The type 'ClassFileReader' is not API (restriction on classpath entry '/home/jenkins/agent/workspace/I-build-4.17/eclipse.platform.releng.aggregator/eclipse.platform.releng.aggregator/cje-production/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 391)
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 '/home/jenkins/agent/workspace/I-build-4.17/eclipse.platform.releng.aggregator/eclipse.platform.releng.aggregator/cje-production/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 392)
} catch (ClassFormatException e) {
Discouraged access: The type 'ClassFormatException' is not API (restriction on classpath entry '/home/jenkins/agent/workspace/I-build-4.17/eclipse.platform.releng.aggregator/eclipse.platform.releng.aggregator/cje-production/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 399)
assertEquals("Wrong value", ClassFileConstants.JDK1_8, reader.getVersion());
Discouraged access: The type 'ClassFileConstants' is not API (restriction on classpath entry '/home/jenkins/agent/workspace/I-build-4.17/eclipse.platform.releng.aggregator/eclipse.platform.releng.aggregator/cje-production/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 399)
assertEquals("Wrong value", ClassFileConstants.JDK1_8, reader.getVersion());
Discouraged access: The field 'ClassFileConstants.JDK1_8' is not API (restriction on classpath entry '/home/jenkins/agent/workspace/I-build-4.17/eclipse.platform.releng.aggregator/eclipse.platform.releng.aggregator/cje-production/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 399)
assertEquals("Wrong value", ClassFileConstants.JDK1_8, reader.getVersion());
Discouraged access: The method 'ClassFileReader.getVersion()' is not API (restriction on classpath entry '/home/jenkins/agent/workspace/I-build-4.17/eclipse.platform.releng.aggregator/eclipse.platform.releng.aggregator/cje-production/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 485)
if (!(compiler instanceof EclipseCompiler))
Discouraged access: The type 'EclipseCompiler' is not API (restriction on classpath entry '/home/jenkins/agent/workspace/I-build-4.17/eclipse.platform.releng.aggregator/eclipse.platform.releng.aggregator/cje-production/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 505)
if (!(compiler instanceof EclipseCompiler))
Discouraged access: The type 'EclipseCompiler' is not API (restriction on classpath entry '/home/jenkins/agent/workspace/I-build-4.17/eclipse.platform.releng.aggregator/eclipse.platform.releng.aggregator/cje-production/gitCache/eclipse.platform.releng.aggregator/eclipse.jdt.core/org.eclipse.jdt.compiler.tool/target/classes')

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

DISCOURAGED ACCESS WARNINGS
1. WARNING in /src/org/eclipse/jdt/compiler/tool/tests/CompilerToolTests.java
 (at line 53)
import org.eclipse.jdt.internal.compiler.classfmt.ClassFileConstants;
Discouraged access: The type 'ClassFileConstants' is not API (restriction on classpath entry '/home/jenkins/agent/workspace/I-build-4.17/eclipse.platform.releng.aggregator/eclipse.platform.releng.aggregator/cje-production/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 54)
import org.eclipse.jdt.internal.compiler.classfmt.ClassFileReader;
Discouraged access: The type 'ClassFileReader' is not API (restriction on classpath entry '/home/jenkins/agent/workspace/I-build-4.17/eclipse.platform.releng.aggregator/eclipse.platform.releng.aggregator/cje-production/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 55)
import org.eclipse.jdt.internal.compiler.classfmt.ClassFormatException;
Discouraged access: The type 'ClassFormatException' is not API (restriction on classpath entry '/home/jenkins/agent/workspace/I-build-4.17/eclipse.platform.releng.aggregator/eclipse.platform.releng.aggregator/cje-production/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 56)
import org.eclipse.jdt.internal.compiler.tool.EclipseCompiler;
Discouraged access: The type 'EclipseCompiler' is not API (restriction on classpath entry '/home/jenkins/agent/workspace/I-build-4.17/eclipse.platform.releng.aggregator/eclipse.platform.releng.aggregator/cje-production/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 154)
ServiceLoader<JavaCompiler> javaCompilerLoader = ServiceLoader.load(JavaCompiler.class, EclipseCompiler.class.getClassLoader());
Discouraged access: The type 'EclipseCompiler' is not API (restriction on classpath entry '/home/jenkins/agent/workspace/I-build-4.17/eclipse.platform.releng.aggregator/eclipse.platform.releng.aggregator/cje-production/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 158)
if (javaCompiler instanceof EclipseCompiler) {
Discouraged access: The type 'EclipseCompiler' is not API (restriction on classpath entry '/home/jenkins/agent/workspace/I-build-4.17/eclipse.platform.releng.aggregator/eclipse.platform.releng.aggregator/cje-production/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 462)
ClassFileReader reader = null;
Discouraged access: The type 'ClassFileReader' is not API (restriction on classpath entry '/home/jenkins/agent/workspace/I-build-4.17/eclipse.platform.releng.aggregator/eclipse.platform.releng.aggregator/cje-production/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 464)
reader = ClassFileReader.read(new File(tmpFolder, "p/X.class"), true);
Discouraged access: The type 'ClassFileReader' is not API (restriction on classpath entry '/home/jenkins/agent/workspace/I-build-4.17/eclipse.platform.releng.aggregator/eclipse.platform.releng.aggregator/cje-production/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 464)
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 '/home/jenkins/agent/workspace/I-build-4.17/eclipse.platform.releng.aggregator/eclipse.platform.releng.aggregator/cje-production/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 465)
} catch (ClassFormatException e) {
Discouraged access: The type 'ClassFormatException' is not API (restriction on classpath entry '/home/jenkins/agent/workspace/I-build-4.17/eclipse.platform.releng.aggregator/eclipse.platform.releng.aggregator/cje-production/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 472)
assertEquals("Wrong value", ClassFileConstants.getLatestJDKLevel(), reader.getVersion()); // TODO: Fix this for JDK11
Discouraged access: The type 'ClassFileConstants' is not API (restriction on classpath entry '/home/jenkins/agent/workspace/I-build-4.17/eclipse.platform.releng.aggregator/eclipse.platform.releng.aggregator/cje-production/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 472)
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 '/home/jenkins/agent/workspace/I-build-4.17/eclipse.platform.releng.aggregator/eclipse.platform.releng.aggregator/cje-production/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 472)
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 '/home/jenkins/agent/workspace/I-build-4.17/eclipse.platform.releng.aggregator/eclipse.platform.releng.aggregator/cje-production/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 542)
ClassFileReader reader = null;
Discouraged access: The type 'ClassFileReader' is not API (restriction on classpath entry '/home/jenkins/agent/workspace/I-build-4.17/eclipse.platform.releng.aggregator/eclipse.platform.releng.aggregator/cje-production/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 544)
reader = ClassFileReader.read(outputFile);
Discouraged access: The type 'ClassFileReader' is not API (restriction on classpath entry '/home/jenkins/agent/workspace/I-build-4.17/eclipse.platform.releng.aggregator/eclipse.platform.releng.aggregator/cje-production/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 544)
reader = ClassFileReader.read(outputFile);
Discouraged access: The method 'ClassFileReader.read(File)' is not API (restriction on classpath entry '/home/jenkins/agent/workspace/I-build-4.17/eclipse.platform.releng.aggregator/eclipse.platform.releng.aggregator/cje-production/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)
} catch (ClassFormatException e) {
Discouraged access: The type 'ClassFormatException' is not API (restriction on classpath entry '/home/jenkins/agent/workspace/I-build-4.17/eclipse.platform.releng.aggregator/eclipse.platform.releng.aggregator/cje-production/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 551)
assertEquals("Not a 1.5 .class file", ClassFileConstants.JDK1_5, reader.getVersion());
Discouraged access: The type 'ClassFileConstants' is not API (restriction on classpath entry '/home/jenkins/agent/workspace/I-build-4.17/eclipse.platform.releng.aggregator/eclipse.platform.releng.aggregator/cje-production/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 551)
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 '/home/jenkins/agent/workspace/I-build-4.17/eclipse.platform.releng.aggregator/eclipse.platform.releng.aggregator/cje-production/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 551)
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 '/home/jenkins/agent/workspace/I-build-4.17/eclipse.platform.releng.aggregator/eclipse.platform.releng.aggregator/cje-production/gitCache/eclipse.platform.releng.aggregator/eclipse.jdt.core/org.eclipse.jdt.core/target/classes')
21. WARNING in /src/org/eclipse/jdt/compiler/tool/tests/CompilerToolTests.java
 (at line 965)
ClassFileReader.read(new File(tmpFolder + "/target/classes", "module-info.class"), true);
Discouraged access: The type 'ClassFileReader' is not API (restriction on classpath entry '/home/jenkins/agent/workspace/I-build-4.17/eclipse.platform.releng.aggregator/eclipse.platform.releng.aggregator/cje-production/gitCache/eclipse.platform.releng.aggregator/eclipse.jdt.core/org.eclipse.jdt.core/target/classes')
22. WARNING in /src/org/eclipse/jdt/compiler/tool/tests/CompilerToolTests.java
 (at line 965)
ClassFileReader.read(new File(tmpFolder + "/target/classes", "module-info.class"), true);
Discouraged access: The method 'ClassFileReader.read(File, boolean)' is not API (restriction on classpath entry '/home/jenkins/agent/workspace/I-build-4.17/eclipse.platform.releng.aggregator/eclipse.platform.releng.aggregator/cje-production/gitCache/eclipse.platform.releng.aggregator/eclipse.jdt.core/org.eclipse.jdt.core/target/classes')
23. WARNING in /src/org/eclipse/jdt/compiler/tool/tests/CompilerToolTests.java
 (at line 966)
} catch (ClassFormatException e) {
Discouraged access: The type 'ClassFormatException' is not API (restriction on classpath entry '/home/jenkins/agent/workspace/I-build-4.17/eclipse.platform.releng.aggregator/eclipse.platform.releng.aggregator/cje-production/gitCache/eclipse.platform.releng.aggregator/eclipse.jdt.core/org.eclipse.jdt.core/target/classes')
24. WARNING in /src/org/eclipse/jdt/compiler/tool/tests/CompilerToolTests.java
 (at line 972)
ClassFileReader.read(new File(tmpFolder + "/target/classes", "bar/Library.class"), true);
Discouraged access: The type 'ClassFileReader' is not API (restriction on classpath entry '/home/jenkins/agent/workspace/I-build-4.17/eclipse.platform.releng.aggregator/eclipse.platform.releng.aggregator/cje-production/gitCache/eclipse.platform.releng.aggregator/eclipse.jdt.core/org.eclipse.jdt.core/target/classes')
25. WARNING in /src/org/eclipse/jdt/compiler/tool/tests/CompilerToolTests.java
 (at line 972)
ClassFileReader.read(new File(tmpFolder + "/target/classes", "bar/Library.class"), true);
Discouraged access: The method 'ClassFileReader.read(File, boolean)' is not API (restriction on classpath entry '/home/jenkins/agent/workspace/I-build-4.17/eclipse.platform.releng.aggregator/eclipse.platform.releng.aggregator/cje-production/gitCache/eclipse.platform.releng.aggregator/eclipse.jdt.core/org.eclipse.jdt.core/target/classes')
26. WARNING in /src/org/eclipse/jdt/compiler/tool/tests/CompilerToolTests.java
 (at line 973)
} catch (ClassFormatException e) {
Discouraged access: The type 'ClassFormatException' is not API (restriction on classpath entry '/home/jenkins/agent/workspace/I-build-4.17/eclipse.platform.releng.aggregator/eclipse.platform.releng.aggregator/cje-production/gitCache/eclipse.platform.releng.aggregator/eclipse.jdt.core/org.eclipse.jdt.core/target/classes')