Message11004

Author stefan.richthofer
Recipients stefan.richthofer
Date 2016-12-19.20:59:29
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1482181171.02.0.414851904256.issue2539@psf.upfronthosting.co.za>
In-reply-to
Content
javadoc: error - com.sun.tools.doclets.internal.toolkit.util.DocletAbortException: com.sun.tools.doclets.internal.toolkit.util.DocletAbortException: com.sun.tools.doclets.internal.toolkit.util.DocletAbortException: java.lang.IllegalArgumentException: "<stdin>"

This happens while processing InteractiveInterpreter.java or InteractiveConsole.java and aborts javadoc process, yielding an incomplete result (i.e. no index.html, no css etc; actually unusable).
It can be fixed by changing the "<stdin>"-literal to '<'+"stdin"+'>' in 
public String filename = "<stdin>"; in InteractiveInterpreter.java
and in
public static final String CONSOLE_FILENAME = "<stdin>"; in InteractiveConsole.java. In the latter it only works if 'final' is removed, which isn't exactly ideal. I suppose with final-keyword, javac merges '<'+"stdin"+'>' implicitly to "<stdin>" at compile-time, leading to the original issue again. Same if you use \u003c and \u003e in place of '<' and '>'.
History
Date User Action Args
2016-12-19 20:59:31stefan.richthofersetrecipients: + stefan.richthofer
2016-12-19 20:59:31stefan.richthofersetmessageid: <1482181171.02.0.414851904256.issue2539@psf.upfronthosting.co.za>
2016-12-19 20:59:30stefan.richthoferlinkissue2539 messages
2016-12-19 20:59:29stefan.richthofercreate