dotgnu-pnet
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Pnet-developers] [bug #14876] .NET and Mono allow mutation of initonly


From: Peter Fristedt
Subject: [Pnet-developers] [bug #14876] .NET and Mono allow mutation of initonly fields via reflection
Date: Thu, 27 Oct 2005 14:09:57 +0000
User-agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7.12) Gecko/20050915 Firefox/1.0.7 (ax)

URL:
  <http://savannah.gnu.org/bugs/?func=detailitem&item_id=14876>

                 Summary: .NET and Mono allow mutation of initonly fields via
reflection
                 Project: DotGNU Portable.NET
            Submitted by: belial
            Submitted on: Thu 10/27/05 at 14:09
                Category: None
                Severity: 3 - Normal
              Item Group: None
                  Status: None
                 Privacy: Public
             Assigned to: None
             Open/Closed: Open

    _______________________________________________________

Details:

.NET (both 1.1 and 2.0) and Mono allow mutation of initonly fields via
reflection in violation of the ECMA CLI specification.

I've created an IL_CONFIG_ECMA option in the pnet module (thanks Klaus) and
added it as a part of all existing profiles.

However I haven't added a profile that uses IL_CONFIG_ECMA=n and hence allows
mutation of such fields.






    _______________________________________________________

File Attachments:


-------------------------------------------------------
Date: Thu 10/27/05 at 14:09  Name: reflecma.patch  Size: 3.96KB   By: belial
Patch for the aforementioned changes.
<http://savannah.gnu.org/bugs/download.php?item_id=14876&item_file_id=3067>

    _______________________________________________________

Reply to this item at:

  <http://savannah.gnu.org/bugs/?func=detailitem&item_id=14876>

_______________________________________________
  Message sent via/by Savannah
  http://savannah.gnu.org/



reply via email to

[Prev in Thread] Current Thread [Next in Thread]