Hi,
For the Trace Compass project, I changed the target definition to use the latest platform integration build and I get some unexpected compilation errors when building with tycho. Reference [1] shows a Jenkins build for
the failure. See below for an example of the error print-outs. See below for an example of the error print-outs. I was able to track down first build version when this problem happens. So, when building with platform integration build [2], there is compilation
error. When using integration build [3], then I get the error below. It seems, that on February 08 some change was merged that causes the problem.
I’m at loss at them moment and I don’t know how to trouble-shoot further and find a solution. Does anybody have an idea what could be the cause of the problem? Was there a bug introduced in the platform build? Or is there
something that I could do in Trace Compass that will fix the problem. By the way, we use Tycho version 1.3.0.
In advance thank you very much.
Best Regards
Bernd
[1] https://hudson.eclipse.org/tracecompass/job/tracecompass-gerrit/21235/
[2] http://download.eclipse.org/eclipse/updates/4.11-I-builds/I20190207-1800/
[3] http://download.eclipse.org/eclipse/updates/4.11-I-builds/I20190208-1800/
[ERROR] Failed to execute goal org.eclipse.tycho:tycho-compiler-plugin:1.3.0:compile (default-compile) on project org.eclipse.tracecompass.tmf.ui: Compilation failure: Compilation failure:
[ERROR] /home/hudson/jenkins-slave-tracecompass/workspace/tracecompass-gerrit/tmf/org.eclipse.tracecompass.tmf.ui/src/org/eclipse/tracecompass/internal/tmf/ui/project/wizards/importtrace/ZipLeveledStructureProvider.java:[32]
[ERROR] import org.eclipse.jdt.annotation.Nullable;
[ERROR] ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[ERROR] Access restriction: The type 'Nullable' is not API (restriction on classpath entry '/home/hudson/jenkins-slave-tracecompass/workspace/tracecompass-gerrit/.repository/p2/osgi/bundle/org.eclipse.jdt.annotation/2.2.200.v20180921-1416/org.eclipse.jdt.annotation-2.2.200.v20180921-1416.jar')
[ERROR] /home/hudson/jenkins-slave-tracecompass/workspace/tracecompass-gerrit/tmf/org.eclipse.tracecompass.tmf.ui/src/org/eclipse/tracecompass/internal/tmf/ui/project/wizards/importtrace/ZipLeveledStructureProvider.java:[118]
[ERROR] @Nullable List<ZipArchiveEntry> childList = children.get(parent);
[ERROR] ^^^^^^^^
[ERROR] Access restriction: The type 'Nullable' is not API (restriction on classpath entry '/home/hudson/jenkins-slave-tracecompass/workspace/tracecompass-gerrit/.repository/p2/osgi/bundle/org.eclipse.jdt.annotation/2.2.200.v20180921-1416/org.eclipse.jdt.annotation-2.2.200.v20180921-1416.jar')