< prev index next >
application/tests/org.openjdk.jmc.jdp.test/src/test/java/org/openjdk/jmc/jdp/client/TestToolkit.java
Print this page
*** 48,67 ****
@SuppressWarnings("nls")
public final class TestToolkit {
private static final String HEXES = "0123456789ABCDEF";
private final static SecureRandom RND = new SecureRandom();
public static final int TEST_MULTICAST_PORT = 7711;
! private static final String TEST_MULTICAST_ADDRESS_STRING = "224.0.23.177"; //$NON-NLS-1$
public static final InetAddress TEST_MULTICAST_ADDRESS;
static {
InetAddress tmp = null;
try {
tmp = InetAddress.getByName(TEST_MULTICAST_ADDRESS_STRING);
} catch (UnknownHostException e) {
// Multicast address by IP, should never happen!
! JDPClientTest.LOGGER.log(Level.SEVERE, "Could not create test multicast address!", e); //$NON-NLS-1$ //$NON-NLS-2$
}
TEST_MULTICAST_ADDRESS = tmp;
}
private TestToolkit() {
--- 48,67 ----
@SuppressWarnings("nls")
public final class TestToolkit {
private static final String HEXES = "0123456789ABCDEF";
private final static SecureRandom RND = new SecureRandom();
public static final int TEST_MULTICAST_PORT = 7711;
! private static final String TEST_MULTICAST_ADDRESS_STRING = "224.0.23.177";
public static final InetAddress TEST_MULTICAST_ADDRESS;
static {
InetAddress tmp = null;
try {
tmp = InetAddress.getByName(TEST_MULTICAST_ADDRESS_STRING);
} catch (UnknownHostException e) {
// Multicast address by IP, should never happen!
! JDPClientTest.LOGGER.log(Level.SEVERE, "Could not create test multicast address!", e);
}
TEST_MULTICAST_ADDRESS = tmp;
}
private TestToolkit() {
< prev index next >