Talk:Marauroa on NetBeans: Difference between revisions
imported>SimonSmall Added version validation and error notes |
imported>SimonSmall Updated version info |
||
| (6 intermediate revisions by the same user not shown) | |||
| Line 1: | Line 1: | ||
= Version Information = |
= Version Information = |
||
These instructions have been validated |
These instructions have been validated and have been built on: |
||
For marauroa source file marauroa-3.9-src.tar.gz |
|||
* Windows XP, NetBeans 7.1.1 and Java 1.7.0_02 (Oracle) [[User:SimonSmall|SimonSmall]] 14:10, 3 March 2012 (CET) |
|||
For marauroa source file marauroa-3.8.7-src.tar.gz |
|||
They have been built on: |
|||
* Windows XP, NetBeans 7.0.1 and Java 1.7.0_02 (Oracle) [[User:SimonSmall|SimonSmall]] 21:24, 15 January 2012 (CET) |
* Windows XP, NetBeans 7.0.1 and Java 1.7.0_02 (Oracle) [[User:SimonSmall|SimonSmall]] 21:24, 15 January 2012 (CET) |
||
* Windows 7, NetBeans 7.1 and Java 1.6.0_29 (Sun) [[User:SimonSmall|SimonSmall]] 21:24, 15 January 2012 (CET) |
* Windows 7, NetBeans 7.1 and Java 1.6.0_29 (Sun) [[User:SimonSmall|SimonSmall]] 21:24, 15 January 2012 (CET) |
||
== Java 7 == |
== Java 7 and marauroa 3.8.7 == |
||
Building marauroa under Java 7 gives an error , as it does not override the abstract method getRemoteAddress() in java.nio.channels.SocketChannel for marauroa.tools.protocolanalyser.FakeSocketChannel. The red exclamation mark warning icon shows the location of this error. Expand the Project tree until this file is shown, double click it to show it in the editor pane then locate the class definition FakeSocketChannel in the code. Position the cursor in that line (left click) then press Alt-Enter and select the option Implement all abstract methods. This adds the following lines: |
Building marauroa 3.8.7 under Java 7 gives an error , as it does not override the abstract method getRemoteAddress() in java.nio.channels.SocketChannel for marauroa.tools.protocolanalyser.FakeSocketChannel. The red exclamation mark warning icon shows the location of this error. Expand the Project tree until this file is shown, double click it to show it in the editor pane then locate the class definition FakeSocketChannel in the code. Position the cursor in that line (left click) then press Alt-Enter and select the option Implement all abstract methods. This adds the following lines: |
||
<source lang="Java"> |
<source lang="Java"> |
||
Latest revision as of 13:10, 3 March 2012
Version Information
These instructions have been validated and have been built on:
For marauroa source file marauroa-3.9-src.tar.gz
- Windows XP, NetBeans 7.1.1 and Java 1.7.0_02 (Oracle) SimonSmall 14:10, 3 March 2012 (CET)
For marauroa source file marauroa-3.8.7-src.tar.gz
- Windows XP, NetBeans 7.0.1 and Java 1.7.0_02 (Oracle) SimonSmall 21:24, 15 January 2012 (CET)
- Windows 7, NetBeans 7.1 and Java 1.6.0_29 (Sun) SimonSmall 21:24, 15 January 2012 (CET)
Java 7 and marauroa 3.8.7
Building marauroa 3.8.7 under Java 7 gives an error , as it does not override the abstract method getRemoteAddress() in java.nio.channels.SocketChannel for marauroa.tools.protocolanalyser.FakeSocketChannel. The red exclamation mark warning icon shows the location of this error. Expand the Project tree until this file is shown, double click it to show it in the editor pane then locate the class definition FakeSocketChannel in the code. Position the cursor in that line (left click) then press Alt-Enter and select the option Implement all abstract methods. This adds the following lines:
<source lang="Java"> import java.net.SocketOption; import java.util.Set;
@Override
public SocketChannel bind(SocketAddress local) throws IOException {
throw new UnsupportedOperationException("Not supported yet.");
}
@Override
public <T> SocketChannel setOption(SocketOption<T> name, T value) throws IOException {
throw new UnsupportedOperationException("Not supported yet.");
}
@Override
public SocketChannel shutdownInput() throws IOException {
throw new UnsupportedOperationException("Not supported yet.");
}
@Override
public SocketChannel shutdownOutput() throws IOException {
throw new UnsupportedOperationException("Not supported yet.");
}
@Override
public SocketAddress getRemoteAddress() throws IOException {
throw new UnsupportedOperationException("Not supported yet.");
}
@Override
public SocketAddress getLocalAddress() throws IOException {
throw new UnsupportedOperationException("Not supported yet.");
}
@Override
public <T> T getOption(SocketOption<T> name) throws IOException {
throw new UnsupportedOperationException("Not supported yet.");
}
@Override
public Set<SocketOption<?>> supportedOptions() {
throw new UnsupportedOperationException("Not supported yet.");
}
</source>