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 240791 - Java Platform Manager: adding JDK docs zip file misses & adds undesired APIs
Summary: Java Platform Manager: adding JDK docs zip file misses & adds undesired APIs
Status: RESOLVED FIXED
Alias: None
Product: java
Classification: Unclassified
Component: Platform (show other bugs)
Version: 8.0
Hardware: PC Windows 8 x64
: P3 normal (vote)
Assignee: Tomas Zezula
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-01-21 19:12 UTC by terje7601
Modified: 2016-06-24 01:46 UTC (History)
0 users

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 terje7601 2014-01-21 19:12:42 UTC
When adding the JDK docs zip file (in my case: jdk-8-ea-docs-b123-all-09_jan_2014.zip) to a Platform (in my case: JDK 1.8 b123), the following APIs are missing:
...!/docs/jre/api/net/httpserver/spec/
...!/docs/jre/api/nio/sctp/spec/
...!/docs/jre/api/security/jaas/spec/
...!/docs/jre/api/security/jgss/spec/
...!/docs/jre/api/security/smartcardio/spec/
and the following is undesired:
...!/docs/technotes/guides/imf/api-sample/

I don't know how the algorithm to find the javadocs works, but the missing APIs all have the same pattern of .../api/subdir1/subdir2/spec/
Comment 1 Tomas Zezula 2016-06-23 13:40:33 UTC
There is no hardcoded name in the algorithm, theres is only tree depth to go into.
Current depth is 5 which is not enough for missing entries.
So needs to be increased at least to 6.
Comment 2 Tomas Zezula 2016-06-23 15:07:07 UTC
Fixed jet-main 59e9c2c642e3
Comment 3 Quality Engineering 2016-06-24 01:46:19 UTC
Integrated into 'main-silver', will be available in build *201606240002* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)

Changeset: http://hg.netbeans.org/main-silver/rev/59e9c2c642e3
User: Tomas Zezula <tzezula@netbeans.org>
Log: #240791:Java Platform Manager: adding JDK docs zip file misses & adds undesired APIs