Javadoc errors when adding -private

Boaz Nahum boaznahum at gmail.com
Mon Mar 4 07:03:07 PST 2013


I'm not sure if this belongs to *build-dev* or *compiler-dev*, so please
forgive me.

I'm building lambda/lambda

I modified spec.gmk to include private and protected elements in docs:

*NEW_JAVADOC = $(BOOTSTRAP_JAVAC_ARGS) com.sun.tools.javadoc.Main  -private*

No
*make docs *

Generate errors of this kind:
c:\jdk8build\LL2\jdk\src\share\classes\java\util\ResourceBundle.java:471:
error: missing method body, or declare abstract
                    new PrivilegedAction<RBClassLoader>() {

^

The relevant code is:

private static class RBClassLoader extends ClassLoader {
        private static final RBClassLoader INSTANCE =
AccessController.doPrivileged(
                    new PrivilegedAction<RBClassLoader>() {
                        public RBClassLoader run() {
                            return new RBClassLoader();
                        }
                    });
        private static final ClassLoader loader =
ClassLoader.getSystemClassLoader();


Thanks
Boaz
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.openjdk.java.net/pipermail/compiler-dev/attachments/20130304/ef13a87e/attachment.html 


More information about the compiler-dev mailing list