Clean Code for bundles/org.eclipse.equinox.http.jetty#1080
Conversation
| org.eclipse.jetty.session;version="[12.0.1,13.0.0)", | ||
| org.eclipse.jetty.ee8.servlet;version="[12.0.1,13.0.0)", | ||
| org.eclipse.jetty.ee8.nested;version="[12.0.1,13.0.0)", | ||
| org.eclipse.jetty.util;version="[12.0.1,13.0.0)", |
There was a problem hiding this comment.
This needs to be fixed in PDE (or bnd...) as it leads to
Access restriction: The method 'AbstractLifeCycle.stop()' is not API (restriction on classpath entry '/home/jenkins/agent/workspace/equinox_PR-1080/.m2/repository/org/eclipse/jetty/jetty-util/12.0.23/jetty-util-12.0.23.jar')
I have not yet found out why bndlib thing the package is not referenced, maybe because the method is overriden in a subclass and the compiler emits a reference to the subclass.
5a8853a to
9ff9e59
Compare
18ffb6e to
ad5e974
Compare
ce6c7a9 to
70224e3
Compare
21ae55a to
4a22e9b
Compare
|
I have now created the reason for the restriction errors is that JDT handles methods inherited from super class different from those directly overridden. |
4a22e9b to
5eac8ae
Compare
aaeca71 to
92a6b5f
Compare
92a6b5f to
bd41ed8
Compare
|
This pull request changes some projects for the first time in this development cycle. An additional commit containing all the necessary changes was pushed to the top of this PR's branch. To obtain these changes (for example if you want to push more changes) either fetch from your fork or apply the git patch. Git patchFurther information are available in Common Build Issues - Missing version increments. |
c541eaf to
8880192
Compare
127b03b to
e41f9f1
Compare
|
The JDT change was merged, so lets see how far we get now! |
d098287 to
7613e81
Compare
|
Seems to still using |
In general yes, but not if the build is unstable (because ECJ changes are regularly the cause of comparator-errors and then it should be investigated). And we had a few unstable builds. |
The following cleanups were applied:
The following Manifest cleanups where applied: