Skip to Main Content

New to Java

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Warning: exporting non-public type to public API

843785Dec 10 2008 — edited Dec 10 2008
Can anyone tell me what this warning means: Exporting non-public type to public API?

I have two classes in the same package, one of them being public. The public class inherits from the other---is there a problem with this setup?
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Jan 7 2009
Added on Dec 10 2008
17 comments
1,552 views