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

Summary: Public packages declaration check does not scan Class-Path: JARs
Product: www Reporter: Jaroslav Tulach <jtulach>
Component: Builds & RepositoriesAssignee: Jaroslav Tulach <jtulach>
Status: RESOLVED DUPLICATE    
Severity: blocker CC: pbuzek
Priority: P1    
Version: 4.x   
Hardware: PC   
OS: Linux   
Issue Type: DEFECT Exception Reporter:

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 ***