TestTools module uses GroupShadow class, but group
module has disabled all possible dependencies.
Please remove this line from manifest:
Not a bug - GroupShadow was not intended for public consumption.
TestTools can use it only if it declares an implementation dependency
on the group module (for impl deps, OIDE-M-P-P is ignored). That means
that a version of test tools is bound to that version of group and
only tested with it; if the GroupShadow class changes arbitrarily (it
is not an API) then test tools will have to make corresponding changes
and match the new impl version.
Petr Kuzel probably has experience with doing this kind of thing from
the XML modules, which "published" evolving APIs only intended to be
accessed from a few "friend" modules.
Better of course would be not to use the class at all. Perhaps you
don't really need to.
If this is not a public API so do it.
The only thing I need is .getLinks() to obtain objects linked into the
All the templates in NetBeans are going to be GroupShadow objects and
it will be nice to see so many "friend" modules to Group :-)
TestTools module depends on many other modules, I solve incompatible
changes each day and solvig this will add me a lot of work.
For you it is just to remove one line from manifest.
This is not an incompatible change; you were never supposed to be
using this class to begin with. There will not be other "friend"
modules because there is a documented public capability of using
*.group files without making calls into the classes in the module. The
one line in the manifest is there for a good reason.
Issue #28422 provides a better solution, IMHO.
*** This issue has been marked as a duplicate of 28422 ***
still important bug
all the code of GroupShadow has been copied directly into moduel code
- urgh :-(
Would it be sufficient if GroupShadow objects provided a list of
contained DataObjects (accessible via
org.openide.loaders.DataObject.Container.getChildren())? I.e. it would
be possible to get a list of valid links; broken links would not be
Fixed as suggested in testtools module: