Kulla: Please review JShell API

Robert Field robert.field at oracle.com
Mon Jul 6 22:51:57 UTC 2015


Thank you Joe.

I’ve added this to the API docs bug JDK-8130637 <https://bugs.openjdk.java.net/browse/JDK-8130637>

Why are fields not advised in KeyStatusEvent?  It is a struct with all final fields.

Thanks,
Robert

> On Jun 29, 2015, at 6:43 PM, Joseph D. Darcy <joe.darcy at oracle.com> wrote:
> 
> Hi Robert,
> 
> A few quick comments.
> 
> The sources files in the API don't seem to have been compiled with the doclint as there seem to be missing javadoc on various methods, etc. Please run with
> 
>     -Xlint:all -Xdoclint:all/protected
> 
> and see what sort of warnings are produced. (Some of the exception types might also be missing serialVersionUID fields.)
> 
> There doesn't seem to be a package-info.java file for the new package.
> 
> Some of the types reference particular sections of "The Java Language Specification." In the JDK sources, we use the @jls tag for that purpose. There are example uses of the tag in the java.lang package.
> 
> The use of fields rather than methods in KeyStatusEvent is not advised.
> 
> HTH,
> 
> -Joe



More information about the kulla-dev mailing list