>>is there something that I could do in Trace Compass that will fix the
problem

You can probably circumvent this issue by setting the compiler option for
that project to

Windows -> Preferences -> Java -> Compiler -> Errors/Warnings ->
Deprecated and restricted API -> Forbidden reference (access rules): ->
change to warning


I tried in eclipse IDE with a new projected that used Nullable annotation
and I didnt get any changed behavior.

Can you please open a bug in eclipse with detailed steps to recreate this
on eclipse?

Regards,
Vikas
------------------------------------------------------------------------
Eclipse PDE lead,
IBM Rational
EGL D Block - Bangalore, India
Office Phone No : +91 - 80 - 41776506
------------------------------------------------------------------------



From:   Bernd Hufmann <[email protected]>
To:     Cross project issues <[email protected]>
Date:   02/13/2019 06:33 PM
Subject:        [cross-project-issues-dev] Build problems with recent platform
            4.11-I-builds
Sent by:        [email protected]



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')
 _______________________________________________
cross-project-issues-dev mailing list
[email protected]
To change your delivery options, retrieve your password, or unsubscribe
from this list, visit
https://urldefense.proofpoint.com/v2/url?u=https-3A__www.eclipse.org_mailman_listinfo_cross-2Dproject-2Dissues-2Ddev&d=DwICAg&c=jf_iaSHvJObTbx-siA1ZOg&r=GX7Y0qkiGeGZucWtN4LNVw0zMQRk7c4he15Of0gDz44&m=ctKL7Nmr2LYcjxub3-VNeFaHZq8GIeFXxZV-qd4GimI&s=0TEMTQeKz9XZ-7Ua9YgOUdFSPwyTDfhjxqCX9lX5ULA&e=

_______________________________________________
cross-project-issues-dev mailing list
[email protected]
To change your delivery options, retrieve your password, or unsubscribe from 
this list, visit
https://www.eclipse.org/mailman/listinfo/cross-project-issues-dev

Reply via email to