1 Reply Latest reply on May 2, 2007 12:26 AM by Chris Laprun

    problem building jboss-portal 2.6.0 CR2 with jdk6.0

    Ricardo Harari Newbie

      Hi folks,

      There is and error when running the build with jdk6:

      [execmodules] g:\repository\jboss-portal\wsrp\src\main\org\jboss\portal\test\wsrp\handler\MockSOAPMessage.java:42: org.jboss.portal.test.wsrp.handler.MockSOAPMessage is not abstract and does not override abstract method removeAttachments(javax.xml.soap.MimeHeaders) in javax.xml.soap.SOAPMessage
      [execmodules] public class MockSOAPMessage extends SOAPMessage
      [execmodules] ^
      [execmodules] 1 error

      and I´ve just added the following lines in MockSOAPMessage.java to bypass this:

      public void removeAttachments(MimeHeaders arg0) {
      throw new UnsupportedOperationException();