https://bugzilla.novell.com/show_bug.cgi?id=324807

User [EMAIL PROTECTED] added comment
https://bugzilla.novell.com/show_bug.cgi?id=324807#c1


Rolf Bjarne Kvinge <[EMAIL PROTECTED]> changed:

           What    |Removed                                         |Added
----------------------------------------------------------------------------
            Summary|s390/s390x don't handle specific function calls |s390x 
don't handle specific function calls
                   |correctly                                       |correctly




--- Comment #1 from Rolf Bjarne Kvinge <[EMAIL PROTECTED]>  2007-12-05 08:04:04 
MST ---
This has been fixed on the s390, but the s390x still have problems.

New repro:

using System;
class C {
        static void Main () {
                C c = new C ();
                c.Test ();
        }       
        public void Test () {
                Token tok = new Token ();
                tok.m_TokenObject = "something";

                Console.WriteLine ("Sending: {0}", tok.m_TokenObject);
                Test (null, null, null, null, tok, null);
                Console.WriteLine ("Got back: {0}", tok.m_TokenObject);
        }

        public void Test (object a, object b, object c, object d, Token Name,
object e) {       
                Console.WriteLine ("Got: {0}", Name.m_TokenObject);
        }
}

struct Token {
        public long m_Location;
        public object m_TokenObject;
}

Result:
[EMAIL PROTECTED]:~/vb> gmcs test.cs && mono test.exe
Sending: something

Unhandled Exception: System.NullReferenceException: Object reference not set to
an instance of an object
  at C.Test (System.Object a, System.Object b, System.Object c, System.Object
d, Token Name, System.Object e) [0x00000]
  at C.Test () [0x00000]
  at C.Main () [0x00000]

Expected result:
[EMAIL PROTECTED]:~/archs> gmcs test.cs && mono test.exe
Sending: something
Got: something
Got back: something


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

Reply via email to