Automated g4 rollback of commit
*** Reason for rollback ***
Need to rollback <unknown commit>
*** Original change description ***
Fix ExceptionWithCauseStacktraceTest now js unit test reports exception's caused-by chain.
java.lang.RuntimeException: __the_message__!
at com.google.j2cl.junit.integration.stacktrace.data.ExceptionWithCauseStacktraceTest.test(ExceptionWithCauseStacktraceTest.java:29)
+ __OPTIONAL__ # TODO(b/63645442): add caused-by chain when reported by js unit tests.
+ __OPTIONAL__
+ __OPTIONAL__
+ __OPTIONAL__
+ __OPTIONAL__
+ __OPTIONAL__
+ __OPTIONAL__
+ __OPTIONAL__
+ __OPTIONAL__
+ __OPTIONAL__
+ __OPTIONAL__
__OPTIONAL__
-# TODO(cl/161369341): add support for cause message in stacktrace deobufscator
-at [INVALID 'Caused by: Error: java.lang.RuntimeException: java.lang.NullPointerException: root cause']
- at java.lang.RuntimeException.<synthetic: ctor_create>(RuntimeException.java:36)
- at com.google.j2cl.junit.integration.stacktrace.data.ExceptionWithCauseStacktraceTest.method(ExceptionWithCauseStacktraceTest.java:34)
- at com.google.j2cl.junit.integration.stacktrace.data.ExceptionWithCauseStacktraceTest.test(ExceptionWithCauseStacktraceTest.java:27)
- __OPTIONAL__ # Testing infra on J2CL
-at [INVALID 'Caused by: TypeError: java.lang.NullPointerException: root cause']
- at java.lang.NullPointerException.<synthetic: ctor_create>(NullPointerException.java:30)
- at com.google.j2cl.junit.integration.stacktrace.data.ExceptionWithCauseStacktraceTest.method(ExceptionWithCauseStacktraceTest.java:34)
- __OPTIONAL__ # Difference between compiled and uncompiled mode: The frame above is duplicated in compiled mode.
- at com.google.j2cl.junit.integration.stacktrace.data.ExceptionWithCauseStacktraceTest.test(ExceptionWithCauseStacktraceTest.java:27)
- __OPTIONAL__ # Testing infra on J2CL
