This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.

Bug 240418 - OpenIDE-Module-Hide-Classpath-Packages in JUnit tests
Summary: OpenIDE-Module-Hide-Classpath-Packages in JUnit tests
Alias: None
Product: platform
Classification: Unclassified
Component: NB JUnit (show other bugs)
Version: 7.4
Hardware: PC All
: P3 normal (vote)
Assignee: Jaroslav Tulach
Depends on:
Blocks: 237546
  Show dependency tree
Reported: 2014-01-13 15:06 UTC by Petr Hejl
Modified: 2014-01-13 15:10 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Note You need to log in before you can comment on or make changes to this bug.
Description Petr Hejl 2014-01-13 15:06:57 UTC
OpenIDE-Module-Hide-Classpath-Packages in module manifest seems to be ignored in JUnit tests. See bug #237546.
Comment 1 Jaroslav Tulach 2014-01-13 15:10:55 UTC
Do you use NbModuleSuite? If not, it is obvious that package hiding cannot work (because there are no classloaders).

Try to wrap your tests with NbModuleSuite. If you still have problems, re-open.