How to tell the java compiler to allow public as package name?

In GWT code I use a java sub package called public that contains html/css/etc.. files.

I notice that the java compiler output doesn’t contain this sub package and its content.

I want this because of testing purposes. Any idea how to tell the java compiler to include this sub package and its content?

Answer

You can’t… It’s a reserved word….

Sorry.

http://www.jwrider.com/riderist/java/javaidrs.htm

EDIT

and

http://download.oracle.com/javase/tutorial/java/nutsandbolts/_keywords.html

Thanks @Joachim

Leave a Reply

Your email address will not be published. Required fields are marked *