Message11004
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 '>'. |
|
Date |
User |
Action |
Args |
2016-12-19 20:59:31 | stefan.richthofer | set | recipients:
+ stefan.richthofer |
2016-12-19 20:59:31 | stefan.richthofer | set | messageid: <1482181171.02.0.414851904256.issue2539@psf.upfronthosting.co.za> |
2016-12-19 20:59:30 | stefan.richthofer | link | issue2539 messages |
2016-12-19 20:59:29 | stefan.richthofer | create | |
|