W3C home > Mailing lists > Public > www-dom@w3.org > April to June 2002

Should DOMImplementationRegistry.PROPERTY be final?

From: Elliotte Rusty Harold <elharo@metalab.unc.edu>
Date: Wed, 05 Jun 2002 11:21:49 -0400
Message-ID: <3CFE2C8D.2000708@metalab.unc.edu>
To: www-dom@w3.org

It strikes me that the DOMImplementationRegistry.PROPERTY field used to 
located source lists for Java bootstrapping should probably be a 
constant; that is, that client code should not be allowed to change this 
field. This would be achieved by marking it final like this:

  public final static String PROPERTY = "org.w3c.dom.DOMImplementationSourceList";


Is there any plausible use-case for changing this value at runtime?

-- 
+-----------------------+------------------------+-------------------+
| Elliotte Rusty Harold | elharo@metalab.unc.edu | Writer/Programmer |
+-----------------------+------------------------+-------------------+ 
|           The XML Bible, 2nd Edition (IDG Books, 2001)             |
|             http://www.cafeconleche.org/books/bible2/              |
|   http://www.amazon.com/exec/obidos/ISBN=0764547607/cafeaulaitA/   |
+----------------------------------+---------------------------------+
|  Read Cafe au Lait for Java News:   http://www.cafeaulait.org/     | 
|  Read Cafe con Leche for XML News:  http://www.cafeconleche.org/   |
+----------------------------------+---------------------------------+
Received on Wednesday, 5 June 2002 11:22:16 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Friday, 22 June 2012 06:13:56 GMT