http://bugzilla.novell.com/show_bug.cgi?id=604479

http://bugzilla.novell.com/show_bug.cgi?id=604479#c0


           Summary: WeakReference doesn't seem to be collected after
                    System.GC.Collect()
    Classification: Mono
           Product: Mono: Runtime
           Version: 2.6.x
          Platform: x86-64
        OS/Version: openSUSE 11.2
            Status: NEW
          Severity: Normal
          Priority: P5 - None
         Component: misc
        AssignedTo: [email protected]
        ReportedBy: [email protected]
         QAContact: [email protected]
          Found By: ---
           Blocker: ---


User-Agent:       Mozilla/5.0 (X11; U; Linux x86_64; en-US) AppleWebKit/533.4
(KHTML, like Gecko) Chrome/5.0.375.29 Safari/533.4

The attached test case (MonoWeakRefBug.cs) passes on .net but fails on mono.



Reproducible: Always

Steps to Reproduce:
gmcs MonoWeakRefBug.cs && mono MonoWeakRefBug.exe
Actual Results:  
Unhandled Exception: System.Exception: Exception of type 'System.Exception' was
thrown.
  at WeakRefBug.Program.AssertEquals (System.Object expected, System.Object
actual) [0x00000] in <filename unknown>:0 
  at WeakRefBug.Program.Main (System.String[] args) [0x00000] in <filename
unknown>:0 

Expected Results:  
success!

-- 
Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.
You are the assignee for the bug.
_______________________________________________
mono-bugs maillist  -  [email protected]
http://lists.ximian.com/mailman/listinfo/mono-bugs

Reply via email to