dev@shoal.java.net

Compilation errors with SHOAL_1_1_ABSTRACTING_TRANSPORT branch

From: Shreedhar Ganapathy <Shreedhar.Ganapathy_at_Sun.COM>
Date: Fri, 26 Jun 2009 14:58:28 -0700

I am trying to build the SHOAL_1_1_ABSTRACTING_TRANSPORT branch

On my Mac, with JDK 1.6.0_13, I see compilation errors for some obvious
JDK classes.

Any ideas what could be wrong? Trying to wear my developer hat after a
long time. :)

I first built the shoal trunk on a different directory and that did not
present any of the following compilation issues.


shreedhar-ganapathys-macbook-pro:gms shreed$ javac -version
javac 1.6.0_13


shreedhar-ganapathys-macbook-pro:gms shreed$ ant
Buildfile: build.xml

clean:

init:
    [mkdir] Created dir: /Users/shreed/shoalgrizzly/shoal/gms/build
    [mkdir] Created dir: /Users/shreed/shoalgrizzly/shoal/gms/dist

compile:
    [javac] Compiling 168 source files to
/Users/shreed/shoalgrizzly/shoal/gms/build
    [javac]
/Users/shreed/shoalgrizzly/shoal/gms/src/java/com/sun/enterprise/mgmt/transport/MessageIOException.java:53:
cannot find symbol
    [javac] symbol : constructor IOException(java.lang.Throwable)
    [javac] location: class java.io.IOException
    [javac] super( t );
    [javac] ^
    [javac]
/Users/shreed/shoalgrizzly/shoal/gms/src/java/com/sun/enterprise/mgmt/transport/MessageIOException.java:57:
cannot find symbol
    [javac] symbol : constructor
IOException(java.lang.String,java.lang.Throwable)
    [javac] location: class java.io.IOException
    [javac] super( msg, t );
    [javac] ^
    [javac]
/Users/shreed/shoalgrizzly/shoal/gms/src/java/com/sun/enterprise/mgmt/transport/BlockingIOMulticastSender.java:110:
cannot find symbol
    [javac] symbol : method isUp()
    [javac] location: class java.net.NetworkInterface
    [javac] if( anInterface != null && anInterface.isUp() &&
anInterface.supportsMulticast() )
    [javac] ^
    [javac]
/Users/shreed/shoalgrizzly/shoal/gms/src/java/com/sun/enterprise/mgmt/transport/BlockingIOMulticastSender.java:110:
cannot find symbol
    [javac] symbol : method supportsMulticast()
    [javac] location: class java.net.NetworkInterface
    [javac] if( anInterface != null && anInterface.isUp() &&
anInterface.supportsMulticast() )
    
[javac]
^
    [javac]
/Users/shreed/shoalgrizzly/shoal/gms/src/java/com/sun/enterprise/mgmt/transport/NetworkUtility.java:201:
cannot find symbol
    [javac] symbol : method isLoopback()
    [javac] location: class java.net.NetworkInterface
    [javac] if( anInterface.isLoopback() ) {
    [javac] ^
    [javac]
/Users/shreed/shoalgrizzly/shoal/gms/src/java/com/sun/enterprise/mgmt/transport/NetworkUtility.java:205:
cannot find symbol
    [javac] symbol : method isUp()
    [javac] location: class java.net.NetworkInterface
    [javac] if( anInterface.isUp() &&
anInterface.supportsMulticast() ) {
    [javac] ^
    [javac]
/Users/shreed/shoalgrizzly/shoal/gms/src/java/com/sun/enterprise/mgmt/transport/NetworkUtility.java:205:
cannot find symbol
    [javac] symbol : method supportsMulticast()
    [javac] location: class java.net.NetworkInterface
    [javac] if( anInterface.isUp() &&
anInterface.supportsMulticast() ) {
    [javac] ^
    [javac]
/Users/shreed/shoalgrizzly/shoal/gms/src/java/com/sun/enterprise/mgmt/transport/grizzly/MulticastSelectorHandler.java:169:
cannot find symbol
    [javac] symbol : method isUp()
    [javac] location: class java.net.NetworkInterface
    [javac] if( anInterface != null && anInterface.isUp() &&
anInterface.supportsMulticast() )
    [javac] ^
    [javac]
/Users/shreed/shoalgrizzly/shoal/gms/src/java/com/sun/enterprise/mgmt/transport/grizzly/MulticastSelectorHandler.java:169:
cannot find symbol
    [javac] symbol : method supportsMulticast()
    [javac] location: class java.net.NetworkInterface
    [javac] if( anInterface != null && anInterface.isUp() &&
anInterface.supportsMulticast() )
    
[javac]
^
    [javac]
/Users/shreed/shoalgrizzly/shoal/gms/src/java/com/sun/enterprise/mgmt/transport/jxta/JxtaNetworkManager.java:463:
cannot find symbol
    [javac] symbol : constructor
IOException(net.jxta.exception.PeerGroupException)
    [javac] location: class java.io.IOException
    [javac] throw new IOException( e );
    [javac] ^
    [javac] Note: Some input files use or override a deprecated API.
    [javac] Note: Recompile with -Xlint:deprecation for details.
    [javac] 10 errors

BUILD FAILED
/Users/shreed/shoalgrizzly/shoal/gms/build.xml:99: Compile failed; see
the compiler error output for details.

Total time: 2 seconds