[Mono-bugs] [Bug 53423][Wis] New - Static IntPtr attributes don't get updated

bugzilla-daemon@bugzilla.ximian.com bugzilla-daemon@bugzilla.ximian.com
Tue, 27 Jan 2004 16:40:07 -0500 (EST)


Please do not reply to this email- if you want to comment on the bug, go to the
URL shown below and enter your comments there.

Changed by kluks@iq.pl.

http://bugzilla.ximian.com/show_bug.cgi?id=53423

--- shadow/53423	2004-01-27 16:40:07.000000000 -0500
+++ shadow/53423.tmp.31408	2004-01-27 16:40:07.000000000 -0500
@@ -0,0 +1,41 @@
+Bug#: 53423
+Product: Mono/Runtime
+Version: unspecified
+OS: 
+OS Details: 
+Status: NEW   
+Resolution: 
+Severity: 
+Priority: Wishlist
+Component: misc
+AssignedTo: mono-bugs@ximian.com                            
+ReportedBy: kluks@iq.pl               
+QAContact: mono-bugs@ximian.com
+TargetMilestone: ---
+URL: 
+Summary: Static IntPtr attributes don't get updated
+
+Description of Problem:
+Static class attributes of type IntPtr don't get updated. They are always
+IntPtr.Zero
+
+This problem doesn't appear in Mono 0.29 but it does in first 0.30 pre and
+in current HEAD (as of 21 Jan).
+
+Steps to reproduce the problem:
+1. Get test case from http://go-mono.pl/moose/bug.cs
+2. Compile and run as is
+3. Remove 'static' from IntPtr field declaration
+4. Run again :)
+
+Actual Results:
+[constructor] Before: 0 after: 0
+
+Expected Results:
+[constructor] Before: 0 after: 1
+
+How often does this happen? 
+Always
+
+Additional Information:
+I'll attach mentioned test case to this bug