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 96141 - Ability to suppress warnings from verifyclasslinkage
Summary: Ability to suppress warnings from verifyclasslinkage
Status: RESOLVED FIXED
Alias: None
Product: apisupport
Classification: Unclassified
Component: Harness (show other bugs)
Version: 6.x
Hardware: All All
: P3 blocker (vote)
Assignee: _ rkubacki
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-02-21 12:33 UTC by _ rkubacki
Modified: 2007-03-22 19:49 UTC (History)
0 users

See Also:
Issue Type: ENHANCEMENT
Exception Reporter:


Attachments
possible patch (4.04 KB, patch)
2007-02-21 12:40 UTC, _ rkubacki
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description _ rkubacki 2007-02-21 12:33:18 UTC
There are various warnings about class linkage problems when IDE is built. It
would be nice to review them and those that are not a real troubles should be
avoided. Often these come from some optional stuff of external libs.
Comment 1 _ rkubacki 2007-02-21 12:40:06 UTC
Created attachment 38753 [details]
possible patch
Comment 2 Jesse Glick 2007-02-21 20:23:21 UTC
Sounds fine to me. Suggestions:

1. Match on FQN (e.g. "org.apache.xerces.Whatever") rather than resource name
(e.g. "org/apache/xerces/Whatever.class").

2. Precompile the regex using Pattern.compile for efficiency.
Comment 3 Jesse Glick 2007-02-21 20:24:22 UTC
Also don't forget to mention any new properties in
apisupport/harness/release/README.
Comment 4 _ rkubacki 2007-02-22 08:58:57 UTC
OK
Comment 5 _ rkubacki 2007-02-22 09:48:10 UTC
Checking in apisupport/harness/release/README;
/shared/data/ccvs/repository/apisupport/harness/release/README,v  <--  README
new revision: 1.54; previous revision: 1.53
done
Checking in nbbuild/templates/common.xml;
/shared/data/ccvs/repository/nbbuild/templates/common.xml,v  <--  common.xml
new revision: 1.57; previous revision: 1.56
done
Checking in nbbuild/antsrc/org/netbeans/nbbuild/VerifyClassLinkage.java;
/shared/data/ccvs/repository/nbbuild/antsrc/org/netbeans/nbbuild/VerifyClassLinkage.java,v
 <--  VerifyClassLinkage.java
new revision: 1.9; previous revision: 1.8
done