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.
On RC2, it seems that "jdk-1_5_0-doc-ja.zip" can not be searched on "Javadoc Index Search". 1. Download jdk docs from http://java.sun.com/j2se/1.5.0/download.jsp 2. Add jdk-1_5_0-doc-ja.zip as javadoc on Java Platform Manager 3. Tool > Javadoc Index Search 4. Try to search Nothing can be found. 5. Download english javadoc jdk-1_5_0-doc.zip 6. Add this on Java Platform Manager 7. Try again Words can be found only from English javadoc. Japanese javadoc itself can be invoked at code editing, Japanese characters are displayed properly, yet, it works fine. But Javadoc index search does not work. Any tip and settings are needed to work this ja javadoc?
Yes, I can reproduce the same. I am getting the following exception.
Created attachment 28671 [details] NoSuchElementException
I also got no results when using the Index Search. After de-installing the Mobility Pack, everything works fine.
This issue does not relate to the Mobility Pack issue (issue #71391).
There are three issues, - st.nextToken() throws Exception, we should catch this. If not, search will stop. - insertDocIndexItem() is being called twice in Japanese case - JDK1.5 Japanese Javadoc itself has tag issue I'll post simple patch for the first two issues. It's just an example patch but please review it. For JDK1.5 Javadoc issue, I'll ask JDK localization folks.
Created attachment 29651 [details] example for patch
fixed in /cvs/javadoc/src/org/netbeans/modules/javadoc/search/SearchThreadJdk12_japan.java new revision: 1.14; previous revision: 1.13 please verify
Verified in NB6.0(euc-jp). The patch is ok from qa side.. ------ Product Version = NetBeans IDE Dev (Build 200606111800) Operating System = Linux version 2.6.11.11 running on i386 Java; VM; Vendor; Home = 1.5.0_06; Java HotSpot(TM) Client VM 1.5.0_06-b05; Sun Microsystems Inc.; /usr/java/jdk1.5.0_06/jre System Locale; Encoding = ja_JP (nb); EUC-JP-LINUX
merged to release55 /cvs/javadoc/src/org/netbeans/modules/javadoc/search/SearchThreadJdk12_japan.java new revision: 1.13.28.1; previous revision: 1.13
tools-javadoc index search is not present nor is view->documentation indices in nb6. How does one do each ? I need to verify this issue.
view->documentation indices menu item was replaced with help->javadoc references tools-javadoc index search seems to mysteriously disappeared after issue #100924 (NB6.0M9) but you can still invoke it with Ctrl+Shift+F1
The right shortcut is Shift+F1
added jdk6 ja javadoc to platform did a search on java.applet and it showed results, which, when clicked, go to ja javadoc in browser. also, help->javadoc references has the ja javadoc on a submenu. ken.frank@sun.com