I hadn't seen any discussion on this list, but I wondered if anybody had noticed that JBoss snapshots from CVS haven't been able to compile for the last week or so?  I've fixed the 2 offending classes up so that it will work, but I'm not confident that they are the real solution....

Let me know if you'd like me to file a bug report....

-Jason


Compile log:

compile:
    [mkdir] Created dir: /home/jboss/jboss/build/classes
    [javac] Compiling 556 source files to /home/jboss/jboss/build/classes
    [javac] /home/jboss/jboss/src/main/org/jboss/jmx/server/XMLAdaptorImpl.java:382: Method hasAttribute(java.lang.String) not found in interface org.w3c.dom.Element.
    [javac]     if( pObjectName.hasAttribute( "name" ) ) {
    [javac]                                 ^
    [javac] /home/jboss/jboss/src/main/org/jboss/jmx/server/XMLAdaptorImpl.java:387: Method hasAttribute(java.lang.String) not found in interface org.w3c.dom.Element.
    [javac]       if( pObjectName.hasAttribute( "domain" ) ) {
    [javac]                                   ^
    [javac] /home/jboss/jboss/src/main/org/jboss/jmx/server/XMLAdaptorImpl.java:394: Method hasAttribute(java.lang.String) not found in interface org.w3c.dom.Element.
    [javac]         if( lProperty.hasAttribute( "key" ) && lProperty.hasChildNodes() ) {
    [javac]                                   ^
    [javac] /home/jboss/jboss/src/main/org/jboss/metadata/ApplicationMetaData.java:135: Method getPublicId() not found in interface org.w3c.dom.DocumentType.
    [javac]          publicID = docType.getPublicId();
    [javac]                                        ^
    [javac] Note: 5 files use or override a deprecated API.  Recompile with "-deprecation" for details.
    [javac] 4 errors, 1 warning

BUILD FAILED

Reply via email to