#177120: Help viewer does not work in JNLP mode
Jesse Glick <[email protected]>
| Newsgroups | gmane.comp.java.netbeans.reviewers |
|---|---|
| Organization | Sun Microsystems / NetBeans |
| Message-ID | <[email protected]> |
https://netbeans.org/bugzilla/show_bug.cgi?id=177120 http://hg.netbeans.org/core-main/rev/57bff5dfd9ba Regression in 6.7 but somehow not noticed until now. Some modules which bundle third-party libraries request that these override any equivalent in the JRE. The JavaHelp integration does this for jh.jar (due to problems with old Solaris JRE installations). When running the application in JNLP mode (i.e. web starting an RCP app), a detail of class loading meant that classes from these libraries were not visible to the context class loader, which happens to be used by JavaHelp to load its UI components. Symptom is a completely broken window when Help > Contents is selected. Fix just checks for JNLP mode and disables the JRE override request (which would not work anyway since JNLP does not supporting overriding the JRE or its installed extensions).