Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8279843

Indicate errors in user code clearer

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: P4 P4
    • tbd
    • 19, 20
    • tools
    • None

      This issue is created after this comment to a PR, https://github.com/openjdk/jdk18/pull/44#pullrequestreview-835511533:

      "Please file a followup bug for a more comprehensive cleanup to protect against errors in user code, like (untrusted) user-provided taglets and doclets. While this could be loosely modeled on javac ClientCodeWrapper and ClientCodeException, this time round it might be reasonable to use a Proxy-based wrapper, to catch exceptions in user-code and then throw them in a wrapped exception for better handling at a higher level. That suggests that going forward, failure to init a taglet should be a fatal error. Note: one potential complication for javadoc not found in javac is the hard tool-to-doclet abstraction barrier."

            prappo Pavel Rappo
            prappo Pavel Rappo
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated: