| Summary: | Reduce the number of warnings for org.osgi.* classes by using the "Ignore optional compile problems" option | ||
|---|---|---|---|
| Product: | [Eclipse Project] Equinox | Reporter: | Szymon Ptaszkiewicz <sptaszkiewicz> |
| Component: | Framework | Assignee: | Szymon Ptaszkiewicz <sptaszkiewicz> |
| Status: | RESOLVED FIXED | QA Contact: | |
| Severity: | enhancement | ||
| Priority: | P3 | CC: | tjwatson |
| Version: | 4.5.0 Mars | ||
| Target Milestone: | Mars M7 | ||
| Hardware: | All | ||
| OS: | All | ||
| See Also: |
https://git.eclipse.org/r/45038 https://git.eclipse.org/c/equinox/rt.equinox.framework.git/commit/?id=906b6219c22e8536de3e43c84d59c4aa00083300 https://git.eclipse.org/r/45053 https://git.eclipse.org/c/equinox/rt.equinox.framework.git/commit/?id=57279b17df199dd506da2fb0b072df4ccf64bdc9 |
||
| Whiteboard: | |||
| Bug Depends on: | |||
| Bug Blocks: | 507055 | ||
|
Description
Szymon Ptaszkiewicz
New Gerrit change created: https://git.eclipse.org/r/45038 Thanks Szymon, your analysis is correct, we cannot modify these osgi sources. Is this a new option to change have different error/warnings based on the source folder. I seem to recall looking for such an option in the past but never found it. (In reply to Thomas Watson from comment #2) > Thanks Szymon, your analysis is correct, we cannot modify these osgi > sources. Is this a new option to change have different error/warnings based > on the source folder. I seem to recall looking for such an option in the > past but never found it. Yes, I should have mentioned that this option is available in the Properties of each source folder in the Java Compiler section. If you agree, I can also prepare a patch to move the org.apache.felix.resolver package to a separate source folder, e.g. felix/src so that we could do the same there. This package produces another 171 warnings. Gerrit change https://git.eclipse.org/r/45038 was merged to [master]. Commit: http://git.eclipse.org/c/equinox/rt.equinox.framework.git/commit/?id=906b6219c22e8536de3e43c84d59c4aa00083300 (In reply to Szymon Ptaszkiewicz from comment #4) > If you agree, I can also prepare a patch to move the > org.apache.felix.resolver package to a separate source folder, e.g. > felix/src so that we could do the same there. This package produces another > 171 warnings. +1 to that. Thanks! Thanks, Tom, that was quicker than I expected :) I will open a separate bug for org.apache.felix.resolver. (In reply to Szymon Ptaszkiewicz from comment #7) > I will open a separate bug for org.apache.felix.resolver. See bug 463710. It turned out that org.osgi.* classes appear also in projects other than org.eclipse.osgi, namely org.eclipse.osgi.services and org.eclipse.osgi.util. I guess we can do the same there. Tom, are you fine with that? New Gerrit change created: https://git.eclipse.org/r/45053 Gerrit change https://git.eclipse.org/r/45053 was merged to [master]. Commit: http://git.eclipse.org/c/equinox/rt.equinox.framework.git/commit/?id=57279b17df199dd506da2fb0b072df4ccf64bdc9 Thanks! I have merged the changes to services and utils. |