Skip to content

feat: Optional debug printing of try-catch ranges after labels #130

feat: Optional debug printing of try-catch ranges after labels

feat: Optional debug printing of try-catch ranges after labels #130

GitHub Actions / Unit Test Results failed Sep 1, 2024 in 0s

1 fail, 1 skipped, 84 pass in 1s

86 tests   - 45   84 ✔️  - 46   1s ⏱️ ±0s
  8 suites  -   6     1 💤 ±  0 
  8 files    -   6     1 +  1 

Results for commit 0ce54b6. ± Comparison against earlier commit bd1c3e7.

Annotations

Check warning on line 0 in me.darknet.assembler.SampleCompilerTest$Analysis

See this annotation in the file changed.

@github-actions github-actions / Unit Test Results

typeInferenceListForTypedAnalysisAlt() (me.darknet.assembler.SampleCompilerTest$Analysis) failed

artifacts/Event File/jasm-composition-jvm/build/test-results/test/TEST-me.darknet.assembler.SampleCompilerTest$Analysis.xml
Raw output
org.opentest4j.AssertionFailedError: Expected 'c' == List.class ==> expected: <Ljava/util/List;> but was: <null>
	at app//org.junit.jupiter.api.AssertionFailureBuilder.build(AssertionFailureBuilder.java:151)
	at app//org.junit.jupiter.api.AssertionFailureBuilder.buildAndThrow(AssertionFailureBuilder.java:132)
	at app//org.junit.jupiter.api.AssertEquals.failNotEqual(AssertEquals.java:197)
	at app//org.junit.jupiter.api.AssertEquals.assertEquals(AssertEquals.java:182)
	at app//org.junit.jupiter.api.Assertions.assertEquals(Assertions.java:1153)
	at app//me.darknet.assembler.SampleCompilerTest$Analysis.lambda$listTypeInference$18(SampleCompilerTest.java:224)
	at app//me.darknet.assembler.TestUtils.lambda$processJvm$0(TestUtils.java:63)
	at app//me.darknet.assembler.error.Result.ifOk(Result.java:84)
	at app//me.darknet.assembler.TestUtils.lambda$processJvm$3(TestUtils.java:60)
	at app//me.darknet.assembler.error.Result.ifOk(Result.java:84)
	at app//me.darknet.assembler.helper.Processor.lambda$processSource$0(Processor.java:19)
	at app//me.darknet.assembler.error.Result.ifOk(Result.java:84)
	at app//me.darknet.assembler.helper.Processor.processSource(Processor.java:19)
	at app//me.darknet.assembler.helper.Processor.processSource(Processor.java:24)
	at app//me.darknet.assembler.TestUtils.processJvm(TestUtils.java:58)
	at app//me.darknet.assembler.TestUtils.processJvm(TestUtils.java:44)
	at app//me.darknet.assembler.SampleCompilerTest$Analysis.listTypeInference(SampleCompilerTest.java:210)
	at app//me.darknet.assembler.SampleCompilerTest$Analysis.typeInferenceListForTypedAnalysisAlt(SampleCompilerTest.java:202)
	at [email protected]/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at [email protected]/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:77)
	at [email protected]/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
	at [email protected]/java.lang.reflect.Method.invoke(Method.java:569)
	at app//org.junit.platform.commons.util.ReflectionUtils.invokeMethod(ReflectionUtils.java:727)
	at app//org.junit.jupiter.engine.execution.MethodInvocation.proceed(MethodInvocation.java:60)
	at app//org.junit.jupiter.engine.execution.InvocationInterceptorChain$ValidatingInvocation.proceed(InvocationInterceptorChain.java:131)
	at app//org.junit.jupiter.engine.extension.TimeoutExtension.intercept(TimeoutExtension.java:156)
	at app//org.junit.jupiter.engine.extension.TimeoutExtension.interceptTestableMethod(TimeoutExtension.java:147)
	at app//org.junit.jupiter.engine.extension.TimeoutExtension.interceptTestMethod(TimeoutExtension.java:86)
	at app//org.junit.jupiter.engine.execution.InterceptingExecutableInvoker$ReflectiveInterceptorCall.lambda$ofVoidMethod$0(InterceptingExecutableInvoker.java:103)
	at app//org.junit.jupiter.engine.execution.InterceptingExecutableInvoker.lambda$invoke$0(InterceptingExecutableInvoker.java:93)
	at app//org.junit.jupiter.engine.execution.InvocationInterceptorChain$InterceptedInvocation.proceed(InvocationInterceptorChain.java:106)
	at app//org.junit.jupiter.engine.execution.InvocationInterceptorChain.proceed(InvocationInterceptorChain.java:64)
	at app//org.junit.jupiter.engine.execution.InvocationInterceptorChain.chainAndInvoke(InvocationInterceptorChain.java:45)
	at app//org.junit.jupiter.engine.execution.InvocationInterceptorChain.invoke(InvocationInterceptorChain.java:37)
	at app//org.junit.jupiter.engine.execution.InterceptingExecutableInvoker.invoke(InterceptingExecutableInvoker.java:92)
	at app//org.junit.jupiter.engine.execution.InterceptingExecutableInvoker.invoke(InterceptingExecutableInvoker.java:86)
	at app//org.junit.jupiter.engine.descriptor.TestMethodTestDescriptor.lambda$invokeTestMethod$7(TestMethodTestDescriptor.java:217)
	at app//org.junit.platform.engine.support.hierarchical.ThrowableCollector.execute(ThrowableCollector.java:73)
	at app//org.junit.jupiter.engine.descriptor.TestMethodTestDescriptor.invokeTestMethod(TestMethodTestDescriptor.java:213)
	at app//org.junit.jupiter.engine.descriptor.TestMethodTestDescriptor.execute(TestMethodTestDescriptor.java:138)
	at app//org.junit.jupiter.engine.descriptor.TestMethodTestDescriptor.execute(TestMethodTestDescriptor.java:68)
	at app//org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$6(NodeTestTask.java:151)
	at app//org.junit.platform.engine.support.hierarchical.ThrowableCollector.execute(ThrowableCollector.java:73)
	at app//org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$8(NodeTestTask.java:141)
	at app//org.junit.platform.engine.support.hierarchical.Node.around(Node.java:137)
	at app//org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$9(NodeTestTask.java:139)
	at app//org.junit.platform.engine.support.hierarchical.ThrowableCollector.execute(ThrowableCollector.java:73)
	at app//org.junit.platform.engine.support.hierarchical.NodeTestTask.executeRecursively(NodeTestTask.java:138)
	at app//org.junit.platform.engine.support.hierarchical.NodeTestTask.execute(NodeTestTask.java:95)
	at [email protected]/java.util.ArrayList.forEach(ArrayList.java:1511)
	at app//org.junit.platform.engine.support.hierarchical.SameThreadHierarchicalTestExecutorService.invokeAll(SameThreadHierarchicalTestExecutorService.java:41)
	at app//org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$6(NodeTestTask.java:155)
	at app//org.junit.platform.engine.support.hierarchical.ThrowableCollector.execute(ThrowableCollector.java:73)
	at app//org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$8(NodeTestTask.java:141)
	at app//org.junit.platform.engine.support.hierarchical.Node.around(Node.java:137)
	at app//org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$9(NodeTestTask.java:139)
	at app//org.junit.platform.engine.support.hierarchical.ThrowableCollector.execute(ThrowableCollector.java:73)
	at app//org.junit.platform.engine.support.hierarchical.NodeTestTask.executeRecursively(NodeTestTask.java:138)
	at app//org.junit.platform.engine.support.hierarchical.NodeTestTask.execute(NodeTestTask.java:95)
	at [email protected]/java.util.ArrayList.forEach(ArrayList.java:1511)
	at app//org.junit.platform.engine.support.hierarchical.SameThreadHierarchicalTestExecutorService.invokeAll(SameThreadHierarchicalTestExecutorService.java:41)
	at app//org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$6(NodeTestTask.java:155)
	at app//org.junit.platform.engine.support.hierarchical.ThrowableCollector.execute(ThrowableCollector.java:73)
	at app//org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$8(NodeTestTask.java:141)
	at app//org.junit.platform.engine.support.hierarchical.Node.around(Node.java:137)
	at app//org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$9(NodeTestTask.java:139)
	at app//org.junit.platform.engine.support.hierarchical.ThrowableCollector.execute(ThrowableCollector.java:73)
	at app//org.junit.platform.engine.support.hierarchical.NodeTestTask.executeRecursively(NodeTestTask.java:138)
	at app//org.junit.platform.engine.support.hierarchical.NodeTestTask.execute(NodeTestTask.java:95)
	at [email protected]/java.util.ArrayList.forEach(ArrayList.java:1511)
	at app//org.junit.platform.engine.support.hierarchical.SameThreadHierarchicalTestExecutorService.invokeAll(SameThreadHierarchicalTestExecutorService.java:41)
	at app//org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$6(NodeTestTask.java:155)
	at app//org.junit.platform.engine.support.hierarchical.ThrowableCollector.execute(ThrowableCollector.java:73)
	at app//org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$8(NodeTestTask.java:141)
	at app//org.junit.platform.engine.support.hierarchical.Node.around(Node.java:137)
	at app//org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$9(NodeTestTask.java:139)
	at app//org.junit.platform.engine.support.hierarchical.ThrowableCollector.execute(ThrowableCollector.java:73)
	at app//org.junit.platform.engine.support.hierarchical.NodeTestTask.executeRecursively(NodeTestTask.java:138)
	at app//org.junit.platform.engine.support.hierarchical.NodeTestTask.execute(NodeTestTask.java:95)
	at app//org.junit.platform.engine.support.hierarchical.SameThreadHierarchicalTestExecutorService.submit(SameThreadHierarchicalTestExecutorService.java:35)
	at app//org.junit.platform.engine.support.hierarchical.HierarchicalTestExecutor.execute(HierarchicalTestExecutor.java:57)
	at app//org.junit.platform.engine.support.hierarchical.HierarchicalTestEngine.execute(HierarchicalTestEngine.java:54)
	at app//org.junit.platform.launcher.core.EngineExecutionOrchestrator.execute(EngineExecutionOrchestrator.java:107)
	at app//org.junit.platform.launcher.core.EngineExecutionOrchestrator.execute(EngineExecutionOrchestrator.java:88)
	at app//org.junit.platform.launcher.core.EngineExecutionOrchestrator.lambda$execute$0(EngineExecutionOrchestrator.java:54)
	at app//org.junit.platform.launcher.core.EngineExecutionOrchestrator.withInterceptedStreams(EngineExecutionOrchestrator.java:67)
	at app//org.junit.platform.launcher.core.EngineExecutionOrchestrator.execute(EngineExecutionOrchestrator.java:52)
	at app//org.junit.platform.launcher.core.DefaultLauncher.execute(DefaultLauncher.java:114)
	at app//org.junit.platform.launcher.core.DefaultLauncher.execute(DefaultLauncher.java:86)
	at app//org.junit.platform.launcher.core.DefaultLauncherSession$DelegatingLauncher.execute(DefaultLauncherSession.java:86)
	at org.gradle.api.internal.tasks.testing.junitplatform.JUnitPlatformTestClassProcessor$CollectAllTestClassesExecutor.processAllTestClasses(JUnitPlatformTestClassProcessor.java:110)
	at org.gradle.api.internal.tasks.testing.junitplatform.JUnitPlatformTestClassProcessor$CollectAllTestClassesExecutor.access$000(JUnitPlatformTestClassProcessor.java:90)
	at org.gradle.api.internal.tasks.testing.junitplatform.JUnitPlatformTestClassProcessor.stop(JUnitPlatformTestClassProcessor.java:85)
	at org.gradle.api.internal.tasks.testing.SuiteTestClassProcessor.stop(SuiteTestClassProcessor.java:62)
	at [email protected]/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at [email protected]/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:77)
	at [email protected]/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
	at [email protected]/java.lang.reflect.Method.invoke(Method.java:569)
	at org.gradle.internal.dispatch.ReflectionDispatch.dispatch(ReflectionDispatch.java:36)
	at org.gradle.internal.dispatch.ReflectionDispatch.dispatch(ReflectionDispatch.java:24)
	at org.gradle.internal.dispatch.ContextClassLoaderDispatch.dispatch(ContextClassLoaderDispatch.java:33)
	at org.gradle.internal.dispatch.ProxyDispatchAdapter$DispatchingInvocationHandler.invoke(ProxyDispatchAdapter.java:94)
	at jdk.proxy2/jdk.proxy2.$Proxy5.stop(Unknown Source)
	at org.gradle.api.internal.tasks.testing.worker.TestWorker$3.run(TestWorker.java:193)
	at org.gradle.api.internal.tasks.testing.worker.TestWorker.executeAndMaintainThreadName(TestWorker.java:129)
	at org.gradle.api.internal.tasks.testing.worker.TestWorker.execute(TestWorker.java:100)
	at org.gradle.api.internal.tasks.testing.worker.TestWorker.execute(TestWorker.java:60)
	at org.gradle.process.internal.worker.child.ActionExecutionWorker.execute(ActionExecutionWorker.java:56)
	at org.gradle.process.internal.worker.child.SystemApplicationClassLoaderWorker.call(SystemApplicationClassLoaderWorker.java:113)
	at org.gradle.process.internal.worker.child.SystemApplicationClassLoaderWorker.call(SystemApplicationClassLoaderWorker.java:65)
	at app//worker.org.gradle.process.internal.worker.GradleWorkerMain.run(GradleWorkerMain.java:69)
	at app//worker.org.gradle.process.internal.worker.GradleWorkerMain.main(GradleWorkerMain.java:74)

Check notice on line 0 in .github

See this annotation in the file changed.

@github-actions github-actions / Unit Test Results

1 skipped test found

There is 1 skipped test, see "Raw output" for the name of the skipped test.
Raw output
me.darknet.assembler.RuntimeCompilerTest ‑ roundTrip(TestArgument)

Check notice on line 0 in .github

See this annotation in the file changed.

@github-actions github-actions / Unit Test Results

86 tests found

There are 86 tests, see "Raw output" for the full list of tests.
Raw output
me.darknet.assembler.RuntimeCompilerTest ‑ roundTrip(TestArgument)
me.darknet.assembler.SampleCompilerTest$Analysis ‑ [1] Example-int-multi.jasm
me.darknet.assembler.SampleCompilerTest$Analysis ‑ [2] Example-int-addition.jasm
me.darknet.assembler.SampleCompilerTest$Analysis ‑ [3] Example-int-division.jasm
me.darknet.assembler.SampleCompilerTest$Analysis ‑ [4] Example-int-iinc.jasm
me.darknet.assembler.SampleCompilerTest$Analysis ‑ [5] Example-int-multiplication.jasm
me.darknet.assembler.SampleCompilerTest$Analysis ‑ [6] Example-int-remainder.jasm
me.darknet.assembler.SampleCompilerTest$Analysis ‑ [7] Example-int-subtraction.jasm
me.darknet.assembler.SampleCompilerTest$Analysis ‑ fieldLookup()
me.darknet.assembler.SampleCompilerTest$Analysis ‑ ldcPushType()
me.darknet.assembler.SampleCompilerTest$Analysis ‑ methodLookup()
me.darknet.assembler.SampleCompilerTest$Analysis ‑ typeInferenceListForTypedAnalysis()
me.darknet.assembler.SampleCompilerTest$Analysis ‑ typeInferenceListForTypedAnalysisAlt()
me.darknet.assembler.SampleCompilerTest$Analysis ‑ typeInferenceListForValuedAnalysis()
me.darknet.assembler.SampleCompilerTest$Analysis ‑ typeInferenceListForValuedAnalysisAlt()
me.darknet.assembler.SampleCompilerTest$AttributeSupport ‑ innerClassInfo()
me.darknet.assembler.SampleCompilerTest$AttributeSupport ‑ outerClassInfo()
me.darknet.assembler.SampleCompilerTest$AttributeSupport ‑ permittedSubclasses()
me.darknet.assembler.SampleCompilerTest$AttributeSupport ‑ recordComponentWithAnnos()
me.darknet.assembler.SampleCompilerTest$AttributeSupport ‑ recordComponentWithGenerics()
me.darknet.assembler.SampleCompilerTest$AttributeSupport ‑ recordComponents()
me.darknet.assembler.SampleCompilerTest$Error ‑ intAndObjectLocalMerge()
me.darknet.assembler.SampleCompilerTest$Error ‑ intAndObjectStackMerge()
me.darknet.assembler.SampleCompilerTest$Error ‑ loadUninitializedVariable()
me.darknet.assembler.SampleCompilerTest$Error ‑ putfieldWithoutContext()
me.darknet.assembler.SampleCompilerTest$Regresssion ‑ arrayLoadAndStores()
me.darknet.assembler.SampleCompilerTest$Regresssion ‑ athrowDoesNotAllowFlowThroughToNextFrameAndClearsStack()
me.darknet.assembler.SampleCompilerTest$Regresssion ‑ checkcastChangesType()
me.darknet.assembler.SampleCompilerTest$Regresssion ‑ newArrayPopsSizeOffStack()
me.darknet.assembler.SampleCompilerTest$Regresssion ‑ spacesAndCommentsDoNotBreakAstReportedLocations()
me.darknet.assembler.SampleCompilerTest$Regresssion ‑ stackPopForInvokes()
me.darknet.assembler.SampleCompilerTest$Regresssion ‑ tryWithResourceVariableScopeConfusion()
me.darknet.assembler.SampleCompilerTest$Regresssion ‑ varDifferentiationWithoutDebugSymbols()
me.darknet.assembler.SampleCompilerTest$RoundTrip ‑ [10] Example-multianewarray.jasm
me.darknet.assembler.SampleCompilerTest$RoundTrip ‑ [11] Example-type-infer-list-alt.jasm
me.darknet.assembler.SampleCompilerTest$RoundTrip ‑ [12] Example-int-subtraction.jasm
me.darknet.assembler.SampleCompilerTest$RoundTrip ‑ [13] Example-string-ops.jasm
me.darknet.assembler.SampleCompilerTest$RoundTrip ‑ [14] Example-instanceof.jasm
me.darknet.assembler.SampleCompilerTest$RoundTrip ‑ [15] Example-anewarray-array.jasm
me.darknet.assembler.SampleCompilerTest$RoundTrip ‑ [16] Example-infinity.jasm
me.darknet.assembler.SampleCompilerTest$RoundTrip ‑ [17] Example-varied-array-ops.jasm
me.darknet.assembler.SampleCompilerTest$RoundTrip ‑ [18] Example-invokedynamic.jasm
me.darknet.assembler.SampleCompilerTest$RoundTrip ‑ [19] Example-wide-invoke.jasm
me.darknet.assembler.SampleCompilerTest$RoundTrip ‑ [1] Example-checkcast-edge.jasm
me.darknet.assembler.SampleCompilerTest$RoundTrip ‑ [20] Example-variables.jasm
me.darknet.assembler.SampleCompilerTest$RoundTrip ‑ [21] Example-int-addition.jasm
me.darknet.assembler.SampleCompilerTest$RoundTrip ‑ [22] Example-type-infer-list.jasm
me.darknet.assembler.SampleCompilerTest$RoundTrip ‑ [23] Example-new.jasm
me.darknet.assembler.SampleCompilerTest$RoundTrip ‑ [24] Example-exit-exception.jasm
me.darknet.assembler.SampleCompilerTest$RoundTrip ‑ [25] Example-try-with-resources.jasm
me.darknet.assembler.SampleCompilerTest$RoundTrip ‑ [26] Example-int-multiplication.jasm
me.darknet.assembler.SampleCompilerTest$RoundTrip ‑ [27] Example.jasm
me.darknet.assembler.SampleCompilerTest$RoundTrip ‑ [28] Example-athrow-before-return.jasm
me.darknet.assembler.SampleCompilerTest$RoundTrip ‑ [29] Example-nan.jasm
me.darknet.assembler.SampleCompilerTest$RoundTrip ‑ [2] Example-int-multi.jasm
me.darknet.assembler.SampleCompilerTest$RoundTrip ‑ [30] Example-obfuscated-indy.jasm
me.darknet.assembler.SampleCompilerTest$RoundTrip ‑ [31] Example-class-annotation.jasm
me.darknet.assembler.SampleCompilerTest$RoundTrip ‑ [32] Example-getstatic.jasm
me.darknet.assembler.SampleCompilerTest$RoundTrip ‑ [33] Example-int-type-name.jasm
me.darknet.assembler.SampleCompilerTest$RoundTrip ‑ [34] Example-int-iinc.jasm
me.darknet.assembler.SampleCompilerTest$RoundTrip ‑ [35] Example-invokedynamic-short.jasm
me.darknet.assembler.SampleCompilerTest$RoundTrip ‑ [36] Example-push-type.jasm
me.darknet.assembler.SampleCompilerTest$RoundTrip ‑ [37] Example-int-division.jasm
me.darknet.assembler.SampleCompilerTest$RoundTrip ‑ [38] Example-anewarray.jasm
me.darknet.assembler.SampleCompilerTest$RoundTrip ‑ [39] Example-inner-class.jasm
me.darknet.assembler.SampleCompilerTest$RoundTrip ‑ [3] Example-int-remainder.jasm
me.darknet.assembler.SampleCompilerTest$RoundTrip ‑ [4] Example-float-cmp.jasm
me.darknet.assembler.SampleCompilerTest$RoundTrip ‑ [5] Example-methods-on-arrays.jasm
me.darknet.assembler.SampleCompilerTest$RoundTrip ‑ [6] Example-checkcast.jasm
me.darknet.assembler.SampleCompilerTest$RoundTrip ‑ [7] Example-exception.jasm
me.darknet.assembler.SampleCompilerTest$RoundTrip ‑ [8] Example-escape-type-name.jasm
me.darknet.assembler.SampleCompilerTest$RoundTrip ‑ [9] Example-comment.jasm
me.darknet.assembler.SampleCompilerTest$RoundTrip ‑ supportInfinity()
me.darknet.assembler.SampleCompilerTest$RoundTrip ‑ supportNan()
me.darknet.assembler.SampleCompilerTest$Variables ‑ basic()
me.darknet.assembler.SampleCompilerTest$Warning ‑ arrays()
me.darknet.assembler.SampleCompilerTest$Warning ‑ getField()
me.darknet.assembler.SampleCompilerTest$Warning ‑ int2Object()
me.darknet.assembler.SampleCompilerTest$Warning ‑ invokeContext()
me.darknet.assembler.SampleCompilerTest$Warning ‑ math()
me.darknet.assembler.SampleCompilerTest$Warning ‑ null2Int()
me.darknet.assembler.SampleCompilerTest$Warning ‑ object2Int()
me.darknet.assembler.SampleCompilerTest$Warning ‑ putField()
me.darknet.assembler.SampleCompilerTest$Warning ‑ storeTypeIncompatibility()
me.darknet.assembler.SampleCompilerTest$Warning ‑ switchOnNull()
me.darknet.assembler.SampleCompilerTest$Warning ‑ switchOnObj()