[jboss-user] [JBoss Portal] - problem building jboss-portal 2.6.0 CR2 with jdk6.0

rharari do-not-reply at jboss.com
Tue May 1 23:33:05 EDT 2007


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();		
}






View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4042278#4042278

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4042278




More information about the jboss-user mailing list