[Mono-bugs] [Bug 632575] New: generator.exe should make final classes sealed.

bugzilla_noreply at novell.com bugzilla_noreply at novell.com
Wed Aug 18 16:42:30 EDT 2010


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

https://bugzilla.novell.com/show_bug.cgi?id=632575#c0


           Summary: generator.exe should make final classes sealed.
    Classification: Mono
           Product: MonoDroid
           Version: SVN
          Platform: Other
        OS/Version: Other
            Status: NEW
          Severity: Major
          Priority: P5 - None
         Component: Tools
        AssignedTo: mkestner at novell.com
        ReportedBy: jpryor at novell.com
         QAContact: mono-bugs at lists.ximian.com
          Found By: ---
           Blocker: ---


Consider java.lang.Integer:

  <class name="Integer" 
    extends="java.lang.Number" 
    abstract="false" 
    static="false" 
    final="true" 
    deprecated="not deprecated" 
    visibility="public">

Notice that it's 'final', which means it can't serve as a base class for other
types.

Now compare with http://docs.monodroid.net/index.aspx?link=T:Java.Lang.Integer

The generated wrappers for types with //class/[@final='true'] should be
'sealed' so that they can't be used as base classes for other types.

-- 
Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.


More information about the mono-bugs mailing list