Uploaded image for project: 'JBoss Log Manager'
  1. JBoss Log Manager
  2. LOGMGR-281

StackTraceFormatterTests fails on newest Java 11 and Java 8 OpenJDK's

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Major Major
    • 2.1.18.Final, 3.0.0.Alpha1
    • None
    • None
    • None

      The StackTraceFormatterTests fails on the latest OpenJDK releases due to https://hg.openjdk.java.net/jdk-updates/jdk11u-dev/rev/b2e76363cba6. See https://bugs.openjdk.java.net/browse/JDK-8226809 for details.

      The difference is in the circular caused by output.

      Previous Behavior
          [CIRCULAR REFERENCE:java.lang.RuntimeException: Exception 2]
          [CIRCULAR REFERENCE:java.lang.RuntimeException: Exception 1]
      
      New Behavior
          Caused by: [CIRCULAR REFERENCE: java.lang.RuntimeException: Exception 2]
      Caused by: [CIRCULAR REFERENCE: java.lang.RuntimeException: Exception 1]
      

      Note that Exception 2 is only a suppressed exception and Exception 1 is a top level and suppressed exception. This is what causes the leading tab difference.

              jperkins-rhn James Perkins
              jperkins-rhn James Perkins
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated:
                Resolved: