commit-classpath
[Top][All Lists]
Advanced

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

[commit-cp] [bug #13422] swing: javax.swing.table.DefaultTableModel(null


From: David Gilbert
Subject: [commit-cp] [bug #13422] swing: javax.swing.table.DefaultTableModel(null, anything) not handed
Date: Thu, 16 Jun 2005 13:18:07 +0000
User-agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7.8) Gecko/20050520 Firefox/1.0.4

Update of bug #13422 (project classpath):

                  Status:                    None => In Progress            
             Assigned to:                    None => trebligd               

    _______________________________________________________

Follow-up Comment #1:

I think you forgot to attach the test case.

>From the line number in the exception, I figured that you are calling
DefaultTableModel(Object[][], Object[]).  The API spec (I'm reading 1.4.2)
says that this "initializes the table by passing data and columnNames  to the
setDataVector method".  And the setDataVector() spec says that a null 'data'
argument "results in unspecified behavior, an possibly an exception".

So the behaviour, although it is different to Sun's implementation, is
compliant with the specification, as far as I can tell.  It is probably
something that should be noted in the GNU Classpath API docs, which I'll fix
unless someone has different view.

    _______________________________________________________

Reply to this item at:

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

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





reply via email to

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