Red Hat Bugzilla – Bug 237925
ecj does not handle OSGi bundle access rules correctly
Last modified: 2013-03-11 15:49:59 EDT
+++ This bug was initially created as a clone of Bug #225329 +++
Description of problem:
Attempting to build eclipse-cdt for FC6 is getting bogged down with access
restriction warnings of the type:
[javac] 74. WARNING in
[javac] (at line 181)
[javac] return new Status(IStatus.WARNING, CCorePlugin.PLUGIN_ID, -1,
Util.bind("convention.namespace.dollarName"), null); //$NON-NLS-1$
[javac] Access restriction: The field WARNING from the type IStatus is not
accessible due to restriction on classpath entry
Version-Release number of selected component (if applicable):
Attempt to build eclipse-cdt rpm under FC6 brew.
Very slow build with warnings on every line.
Reasonably quick build.
Problem does not appear to be in rawhide. Same rpm sources built quickly there.
-- Additional comment from email@example.com on 2007-01-29 17:26 EST --
This is caused by a bug in the ecj-square-brakets patch. I just fixed it in
rawhide so I'll push an update to FC6 with the updated patch. Thanks.
-- Additional comment from firstname.lastname@example.org on 2007-02-21 16:43 EST --
This is fixed in the upcoming 3.2.2-1.fc6 update. Thanks.
This bug can causes ecj to display incorrect compiler warnings which
dramatically slows down Eclipse plugin builds. This bug may also cause some
Eclipse plugin builds to incorrectly fail.
Test For Fix: Compile the eclipse-cdt package and ensure that there are no
warnings related to access rules.
This request was evaluated by Red Hat Product Management for
inclusion, but this component is not scheduled to be updated in
the current Red Hat Enterprise Linux release. This request will
be reviewed for a future Red Hat Enterprise Linux release.
RHEL 5 has ended Production Phase 1 and thus only security bugfixes from this point on. Please use Eclipse from RHEL 6 if you need newer Eclipse version.