JDK-8011542 : closed/com/sun/nio/sctp/RevealLocalAddress.java fails to compile on Mac
  • Type: Bug
  • Component: core-libs
  • Sub-Component: java.net
  • Affected Version: 7,8
  • Priority: P3
  • Status: Closed
  • Resolution: Duplicate
  • OS: os_x
  • Submitted: 2013-04-04
  • Updated: 2013-10-31
  • Resolved: 2013-10-17
The Version table provides details related to the release that this issue/RFE will be addressed.

Unresolved : Release in which this issue/RFE will be addressed.
Resolved: Release in which this issue/RFE has been resolved.
Fixed : Release in which this issue/RFE has been fixed. The release containing this fix may be available for download as an Early Access Release or a General Availability Release.

To download the current JDK release, click here.
JDK 8
8Resolved
Related Reports
Duplicate :  
Relates :  
Description
Testsuite name: Regression 
Test nme: closed/com/sun/nio/sctp/RevealLocalAddress.java
JDK tested: 7u25b04 
OS tested: MacOS, Windows 
Is it a regression: NO

Test Passes on Windows and fails to compile on MacOS X

Log:

#section:compile
----------messages:(3/222)----------
command: compile /export/local/aurora/CommonData/j2se_rest/test/closed/com/sun/nio/sctp/../../../../../com/sun/nio/sctp/SctpChannel/Util.java
reason: .class file out of date or does not exist
elapsed time (seconds): 0.841
----------System.out:(0/0)----------
----------System.err:(19/1097)----------
/export/local/aurora/CommonData/j2se_rest/test/closed/com/sun/nio/sctp/../../../../../com/sun/nio/sctp/SctpChannel/Util.java:40: error: package com.sun.nio.sctp does not exist
import com.sun.nio.sctp.SctpChannel;
                       ^
/export/local/aurora/CommonData/j2se_rest/test/closed/com/sun/nio/sctp/../../../../../com/sun/nio/sctp/SctpChannel/Util.java:99: error: cannot find symbol
    static void dumpAddresses(SctpChannel channel,
                              ^
  symbol:   class SctpChannel
  location: class Util
/export/local/aurora/CommonData/j2se_rest/test/closed/com/sun/nio/sctp/../../../../../com/sun/nio/sctp/SctpChannel/Util.java:61: error: cannot find symbol
            SctpChannel c = SctpChannel.open();
            ^
  symbol:   class SctpChannel
  location: class Util
/export/local/aurora/CommonData/j2se_rest/test/closed/com/sun/nio/sctp/../../../../../com/sun/nio/sctp/SctpChannel/Util.java:61: error: cannot find symbol
            SctpChannel c = SctpChannel.open();
                            ^
  symbol:   variable SctpChannel
  location: class Util
4 errors
result: Failed. Compilation failed


test result: Failed. Compilation failed

Comments
JDK-7076487 was pushed to jdk8/tl recently so I assume JDK-8011542 can be closed as a dup.
16-10-2013

Since SCTP is not support on mac, then this test should not be run on mac. The test could probably be changes to determine if the OS is mac, if so then complete silently.
09-04-2013