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 52368 - Public packages declaration check does not scan Class-Path: JARs
Summary: Public packages declaration check does not scan Class-Path: JARs
Status: RESOLVED DUPLICATE of bug 35053
Alias: None
Product: www
Classification: Unclassified
Component: Builds & Repositories (show other bugs)
Version: 4.x
Hardware: PC Linux
: P1 blocker (vote)
Assignee: Jaroslav Tulach
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-12-14 09:45 UTC by Jaroslav Tulach
Modified: 2004-12-15 12:34 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Jaroslav Tulach 2004-12-14 09:45:43 UTC
This is not that big deal for the product right
now, but the bug it prevents me from implementing
issue 35053. That is why I started with P1. I hope
the fix is not going to be too complex.

I have found out that
j2ee/sunappsrv8/build/netbeans/modules/org-netbeans-modules-j2ee-sun-ide.jar
declares org.netbeans.modules.j2ee.sun.api.*,
org.netbeans.modules.j2ee.sun.ide.* as public
packages, but it contains only the later one. 

This is reported by the tool developed in issue
35053 as an error. Can you please fix the declaration?
Comment 1 _ ludo 2004-12-15 05:00:16 UTC
if you carefully see the module itelf you'll notice that the manifest
declares a dependency to ext/appserv-libapi.jar  that has the classes
exported by the module...so maybe you should fix your tool to also
analyse the dependant jars...

unless I am wrong?
Comment 2 Jaroslav Tulach 2004-12-15 07:34:19 UTC
I have not noticed that. Thanks. I'll fix my tool and either close the
issue or come back.
Comment 3 Jaroslav Tulach 2004-12-15 12:34:44 UTC
Really bug in the tool. Will be solved as part of issue 35053.


*** This issue has been marked as a duplicate of 35053 ***