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 179859 - MetaInfServicesLookup does not properly handle services with unresolvable superclass/interface
Summary: MetaInfServicesLookup does not properly handle services with unresolvable sup...
Status: RESOLVED FIXED
Alias: None
Product: platform
Classification: Unclassified
Component: Lookup (show other bugs)
Version: 6.x
Hardware: PC Linux
: P3 normal (vote)
Assignee: Jaroslav Tulach
URL:
Keywords:
Depends on:
Blocks: 179749
  Show dependency tree
 
Reported: 2010-01-26 02:52 UTC by Jan Lahoda
Modified: 2010-02-03 21:54 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
Sketch of a test. (838 bytes, patch)
2010-01-26 02:52 UTC, Jan Lahoda
Details | Diff
Jar needed by the test. (2.33 KB, application/octet-stream)
2010-01-26 02:53 UTC, Jan Lahoda
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Jan Lahoda 2010-01-26 02:52:48 UTC
Created attachment 93545 [details]
Sketch of a test.

In:
https://netbeans.org/bugzilla/show_bug.cgi?id=179749#c8
Jesse said that MetaInfServicesLookup should be able to handle broken services - but it does not at least if the service class' parent is not resolvable. I will attach a sketch of a simple test (diff) and a jar file. You need to change the path in the test to an absolute path to your copy of metainftest.jar (the test will obviously need to be improved before inclusion).
Comment 1 Jan Lahoda 2010-01-26 02:53:21 UTC
Created attachment 93546 [details]
Jar needed by the test.
Comment 2 Jaroslav Tulach 2010-02-03 11:54:56 UTC
core-main#6181cc4bdfde
Comment 3 Quality Engineering 2010-02-03 21:54:49 UTC
Integrated into 'main-golden', will be available in build *201002040200* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)
Changeset: http://hg.netbeans.org/main/rev/6181cc4bdfde
User: Jaroslav Tulach <jtulach@netbeans.org>
Log: #179859: Treating linkage errors are CNFE