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

Table in ThreadInfo.from(CompositeData) may need updates for new stack trace attributes

XMLWordPrintable

      As of jdk-9+120, the javadoc for ThreadInfo.from(CompositeData) has the following for the stackTrace attribute:

      "Each element is a CompositeData representing StackTraceElement containing the following attributes:

      Attribute Name Type
      className java.lang.String
      methodName java.lang.String
      fileName java.lang.String
      lineNumber java.lang.Integer
      nativeMethod java.lang.Boolean"

      I suspect this table needs to be updated to list moduleName and moduleVersion as optional. No implementation changes, it's just the javadoc that needs to be checked.

            asapre Amit Sapre
            alanb Alan Bateman
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: