Skip to content

Missing package warning and quick fix for 'pure' OSGI #2207

@ewillink

Description

@ewillink

eclipse-uml2/uml2#141 discusses a failure of Eclipse UML2 on Felix caused by a missing org.xml.sax Import-Package.

The org.xml.sax package was originally part of rt.jar and has subsequently been made available on Equinox presumably by the --add-modules=ALL-SYSTEM in Eclipse.ini. It appears that there is no corresponding ability to provide legacy visibility on Felix.

Providing the missing Import-Package is trivial but Eclipse plugin developers are unaware that their plugins may be defective for Felix. Diagnosing the problem and getting the fix will often be too troublemsome and take too long for a Felix user who may simply conclude that Eclipse XXX does not work.

Surely --add-modules=ALL-SYSTEM should be a temporary sticking plaster not a permananent fix? In the same way that a warning and quick fix encouraged the addition an an Automatic-Module-Name, suggest that the PDE Manifest editor provide a warning and Import-Package quick fix for all packages whose visibility is dependent on --add-modules=ALL-SYSTEM.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions