javaee / javahelp

javahelp
Other
14 stars 15 forks source link

API leaks non-public class #19

Open glassfishrobot opened 16 years ago

glassfishrobot commented 16 years ago

I've executed Sun's sigtest on javahelp APIs and I got this report:

Hidden class found: javax.help.HelpSetFactory in method public static javax.help.HelpSet javax.help.HelpSet.parse(java.net.URL,java.lang.ClassLoader,javax.help.HelpSetFactory) in class javax.help.HelpSet

Hidden class found: javax.help.HelpSetFactory in method public void javax.help.HelpSet.parseInto(java.net.URL,javax.help.HelpSetFactory) in class javax.help.HelpSet

I believe public class HelpSet should not refer to non-public class HelpSetFactory. Either make the above methods package private, or make HelpSetFactory public.

Environment

Operating System: All Platform: All

Affected Versions

[current]

glassfishrobot commented 16 years ago

Reported by jst

glassfishrobot commented 16 years ago

Was assigned to javahelp-issues

glassfishrobot commented 7 years ago

This issue was imported from java.net JIRA JAVAHELP-19