--- a/jdk/src/solaris/native/java/net/PlainDatagramSocketImpl.c Tue Oct 12 09:46:17 2010 +0100
+++ b/jdk/src/solaris/native/java/net/PlainDatagramSocketImpl.c Tue Oct 12 11:11:32 2010 +0100
@@ -2255,7 +2255,7 @@
{
struct in_addr in;
struct in_addr *inP = ∈
- int len = sizeof(struct in_addr);
+ socklen_t len = sizeof(struct in_addr);
#ifdef __linux__
struct ip_mreqn mreqn;
--- a/jdk/src/solaris/native/sun/net/spi/DefaultProxySelector.c Tue Oct 12 09:46:17 2010 +0100
+++ b/jdk/src/solaris/native/sun/net/spi/DefaultProxySelector.c Tue Oct 12 11:11:32 2010 +0100
@@ -158,7 +158,7 @@
char *phost = NULL;
char *mode = NULL;
int pport = 0;
- int use_proxy;
+ int use_proxy = 0;
int use_same_proxy = 0;
const char* urlhost;
jobject isa = NULL;