Proposed fix: To add a (Locale) before both null appearances. As the
.diff attached.
What do you think about it?
--- getBundle.java~ 2006-02-13 07:14:14.0 +
+++ getBundle.java 2006-02-13 07:14:14.0 +
@@ -174,7 +174,7 @@
try
{
- ResourceBun
gnu/testlet/java/util/ResourceBundle/getBundle.java:
at lines 177 and 187:
references to
java.util.ResourceBundle.getBundle (String, null) is ambiguous at
Sun's JDK 1.6, as there are the following two methods:
getBundle(java.lang.String,java.util.Locale)
getBundle(java.lang.String,java.util.Res
Em Ter 10 Jan 2006 04:50, Chris Burdess escreveu:
>I would prefer:
>final class EmptyNodeList implements NodeList
>{
> static final EmptyNodeList instance = new EmptyNodeList();
> public final int getLength() {return 0;}
> public final Node item(int index) {return null;}
>}
>Th
>We ask that people agree to the GNU Classpath Hackers requirements
>before granting CVS commit permissions. You can find them at:
>http://www.gnu.org/software/classpath/docs/hacking.html#SEC2
I'm submiting source code to this list to be included in the GNU classpath
project, assuring that I wro
ength() equals 0.
The problem appears in SableVM classpath because for gnu.xml.dom.DomNode,
node.getChildNodes() returns itself.
My proposed solution is:
Add to gnu.xml.dom.DomText:
import org.w3c.dom.NodeList;
/**
* Returns an EmptyNodeList.
*
* @author Pedro Izecksohn
*/
5 matches
Mail list logo