Skip to content

[NativeAOT] Investigate failing DoNotLeakWeakReferences #11690

Done

Description

@simonrozsival

Build: https://dev.azure.com/dnceng-public/public/_build/results?buildId=1468779

Failure:

DoNotLeakWeakReferences
System.Exception : Worker thread failed
----> NUnit.Framework.AssertionException :   #2
Expected: 25 +/- 10
But was:  51
Off by:   -26.0d

   at Java.InteropTests.JnienvTest.DoNotLeakWeakReferences()
   at System.Reflection.DynamicInvokeInfo.Invoke(Object, IntPtr, Object[], BinderBundle, Boolean)
--AssertionException
   at NUnit.Framework.Assert.ReportFailure(String)
   at NUnit.Framework.Assert.ReportFailure(ConstraintResult, String, Object[])
   at NUnit.Framework.Assert.That[TActual](TActual, IResolveConstraint, String, Object[])
   at Java.InteropTests.JnienvTest.<>c__DisplayClass32_0.<DoNotLeakWeakReferences>b__1()

Activity

  1. added
    bug
    Area: NativeAOT
    on Jun 17, 2026
  2. added
    needs-triage
    on Jun 17, 2026
  3. added this to the .NET 12 milestone on Aug 13, 2026
  4. removed
    needs-triage
    on Nov 19, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Labels

Area: NativeAOTbug

Type

No type

Projects

No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions