Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8042166

TEST_BUG: new test com/sun/nio/sctp/SctpChannel/ReceiveIntoDirect.java fails to compile on OS X

XMLWordPrintable

    • b08
    • generic
    • os_x

      Testsuite name: Regression
      Test name: com/sun/nio/sctp/SctpChannel/ReceiveIntoDirect.java
      JDK tested: jdk 7u65 b08
      OS tested: Mac OS X
      Is it a regression: NO
      Is it platform specific: YES (mac os x)

      Test fails to compile since it was integrated in 7u65 b08, see JDK-8034181.

      LOG:

      /export/local/aurora/CommonData/j2se_rest/test/com/sun/nio/sctp/SctpChannel/ReceiveIntoDirect.java:34: error: package com.sun.nio.sctp does not exist
      import com.sun.nio.sctp.AbstractNotificationHandler;
                             ^
      /export/local/aurora/CommonData/j2se_rest/test/com/sun/nio/sctp/SctpChannel/ReceiveIntoDirect.java:35: error: package com.sun.nio.sctp does not exist
      import com.sun.nio.sctp.AssociationChangeNotification;
                             ^
      /export/local/aurora/CommonData/j2se_rest/test/com/sun/nio/sctp/SctpChannel/ReceiveIntoDirect.java:36: error: package com.sun.nio.sctp.AssociationChangeNotification does not exist
      import com.sun.nio.sctp.AssociationChangeNotification.AssocChangeEvent;
                                                           ^
      /export/local/aurora/CommonData/j2se_rest/test/com/sun/nio/sctp/SctpChannel/ReceiveIntoDirect.java:37: error: package com.sun.nio.sctp does not exist
      import com.sun.nio.sctp.HandlerResult;
                             ^
      /export/local/aurora/CommonData/j2se_rest/test/com/sun/nio/sctp/SctpChannel/ReceiveIntoDirect.java:38: error: package com.sun.nio.sctp does not exist
      import com.sun.nio.sctp.MessageInfo;
                             ^
      /export/local/aurora/CommonData/j2se_rest/test/com/sun/nio/sctp/SctpChannel/ReceiveIntoDirect.java:39: error: package com.sun.nio.sctp does not exist
      import com.sun.nio.sctp.Notification;
                             ^
      /export/local/aurora/CommonData/j2se_rest/test/com/sun/nio/sctp/SctpChannel/ReceiveIntoDirect.java:40: error: package com.sun.nio.sctp does not exist
      import com.sun.nio.sctp.PeerAddressChangeNotification;
                             ^
      /export/local/aurora/CommonData/j2se_rest/test/com/sun/nio/sctp/SctpChannel/ReceiveIntoDirect.java:41: error: package com.sun.nio.sctp does not exist
      import com.sun.nio.sctp.SctpChannel;
                             ^
      /export/local/aurora/CommonData/j2se_rest/test/com/sun/nio/sctp/SctpChannel/ReceiveIntoDirect.java:42: error: package com.sun.nio.sctp does not exist
      import com.sun.nio.sctp.SctpServerChannel;
                             ^
      /export/local/aurora/CommonData/j2se_rest/test/com/sun/nio/sctp/SctpChannel/ReceiveIntoDirect.java:43: error: package com.sun.nio.sctp does not exist
      import com.sun.nio.sctp.ShutdownNotification;
                             ^
      /export/local/aurora/CommonData/j2se_rest/test/com/sun/nio/sctp/SctpChannel/ReceiveIntoDirect.java:162: error: cannot find symbol
              private final SctpServerChannel ssc;
                            ^
        symbol: class SctpServerChannel
        location: class ReceiveIntoDirect.Server
      /export/local/aurora/CommonData/j2se_rest/test/com/sun/nio/sctp/SctpChannel/ReceiveIntoDirect.java:208: error: cannot find symbol
          class ReceiveNotificationHandler extends AbstractNotificationHandler<Object>
                                                   ^
        symbol: class AbstractNotificationHandler
        location: class ReceiveIntoDirect
      /export/local/aurora/CommonData/j2se_rest/test/com/sun/nio/sctp/SctpChannel/ReceiveIntoDirect.java:220: error: cannot find symbol
                      Notification notification, Object attachment) {
                      ^
        symbol: class Notification
        location: class ReceiveIntoDirect.ReceiveNotificationHandler
      /export/local/aurora/CommonData/j2se_rest/test/com/sun/nio/sctp/SctpChannel/ReceiveIntoDirect.java:219: error: cannot find symbol
              public HandlerResult handleNotification(
                     ^
        symbol: class HandlerResult
        location: class ReceiveIntoDirect.ReceiveNotificationHandler
      /export/local/aurora/CommonData/j2se_rest/test/com/sun/nio/sctp/SctpChannel/ReceiveIntoDirect.java:227: error: cannot find symbol
                      AssociationChangeNotification notification, Object attachment) {
                      ^
        symbol: class AssociationChangeNotification
        location: class ReceiveIntoDirect.ReceiveNotificationHandler
      /export/local/aurora/CommonData/j2se_rest/test/com/sun/nio/sctp/SctpChannel/ReceiveIntoDirect.java:226: error: cannot find symbol
              public HandlerResult handleNotification(
                     ^
        symbol: class HandlerResult
        location: class ReceiveIntoDirect.ReceiveNotificationHandler
      /export/local/aurora/CommonData/j2se_rest/test/com/sun/nio/sctp/SctpChannel/ReceiveIntoDirect.java:241: error: cannot find symbol
                      PeerAddressChangeNotification pacn, Object unused)
                      ^
        symbol: class PeerAddressChangeNotification
        location: class ReceiveIntoDirect.ReceiveNotificationHandler
      /export/local/aurora/CommonData/j2se_rest/test/com/sun/nio/sctp/SctpChannel/ReceiveIntoDirect.java:240: error: cannot find symbol
              public HandlerResult handleNotification(
                     ^
        symbol: class HandlerResult
        location: class ReceiveIntoDirect.ReceiveNotificationHandler
      /export/local/aurora/CommonData/j2se_rest/test/com/sun/nio/sctp/SctpChannel/ReceiveIntoDirect.java:249: error: cannot find symbol
                      ShutdownNotification notification, Object attachment) {
                      ^
        symbol: class ShutdownNotification
        location: class ReceiveIntoDirect.ReceiveNotificationHandler
      /export/local/aurora/CommonData/j2se_rest/test/com/sun/nio/sctp/SctpChannel/ReceiveIntoDirect.java:248: error: cannot find symbol
              public HandlerResult handleNotification(
                     ^
        symbol: class HandlerResult
        location: class ReceiveIntoDirect.ReceiveNotificationHandler
      /export/local/aurora/CommonData/j2se_rest/test/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/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/com/sun/nio/sctp/SctpChannel/ReceiveIntoDirect.java:117: error: cannot find symbol
              MessageInfo info;
              ^
        symbol: class MessageInfo
        location: class ReceiveIntoDirect
      /export/local/aurora/CommonData/j2se_rest/test/com/sun/nio/sctp/SctpChannel/ReceiveIntoDirect.java:119: error: cannot find symbol
              try (SctpChannel channel = SctpChannel.open()) {
                   ^
        symbol: class SctpChannel
        location: class ReceiveIntoDirect
      /export/local/aurora/CommonData/j2se_rest/test/com/sun/nio/sctp/SctpChannel/ReceiveIntoDirect.java:119: error: cannot find symbol
              try (SctpChannel channel = SctpChannel.open()) {
                                         ^
        symbol: variable SctpChannel
        location: class ReceiveIntoDirect
      /export/local/aurora/CommonData/j2se_rest/test/com/sun/nio/sctp/SctpChannel/ReceiveIntoDirect.java:165: error: cannot find symbol
                  ssc = SctpServerChannel.open().bind(null);
                        ^
        symbol: variable SctpServerChannel
        location: class ReceiveIntoDirect.Server
      /export/local/aurora/CommonData/j2se_rest/test/com/sun/nio/sctp/SctpChannel/ReceiveIntoDirect.java:185: error: cannot find symbol
                          SctpChannel sc = ssc.accept();
                          ^
        symbol: class SctpChannel
        location: class ReceiveIntoDirect.Server
      /export/local/aurora/CommonData/j2se_rest/test/com/sun/nio/sctp/SctpChannel/ReceiveIntoDirect.java:188: error: cannot find symbol
                          MessageInfo info = MessageInfo.createOutgoing(null, 0);
                          ^
        symbol: class MessageInfo
        location: class ReceiveIntoDirect.Server
      /export/local/aurora/CommonData/j2se_rest/test/com/sun/nio/sctp/SctpChannel/ReceiveIntoDirect.java:188: error: cannot find symbol
                          MessageInfo info = MessageInfo.createOutgoing(null, 0);
                                             ^
        symbol: variable MessageInfo
        location: class ReceiveIntoDirect.Server
      /export/local/aurora/CommonData/j2se_rest/test/com/sun/nio/sctp/SctpChannel/ReceiveIntoDirect.java:222: error: cannot find symbol
                  return HandlerResult.CONTINUE;
                         ^
        symbol: variable HandlerResult
        location: class ReceiveIntoDirect.ReceiveNotificationHandler
      /export/local/aurora/CommonData/j2se_rest/test/com/sun/nio/sctp/SctpChannel/ReceiveIntoDirect.java:218: error: method does not override or implement a method from a supertype
              @Override
              ^
      /export/local/aurora/CommonData/j2se_rest/test/com/sun/nio/sctp/SctpChannel/ReceiveIntoDirect.java:228: error: cannot find symbol
                  AssocChangeEvent event = notification.event();
                  ^
        symbol: class AssocChangeEvent
        location: class ReceiveIntoDirect.ReceiveNotificationHandler
      /export/local/aurora/CommonData/j2se_rest/test/com/sun/nio/sctp/SctpChannel/ReceiveIntoDirect.java:233: error: cannot find symbol
                  if (event.equals(AssocChangeEvent.COMM_UP))
                                   ^
        symbol: variable AssocChangeEvent
        location: class ReceiveIntoDirect.ReceiveNotificationHandler
      /export/local/aurora/CommonData/j2se_rest/test/com/sun/nio/sctp/SctpChannel/ReceiveIntoDirect.java:236: error: cannot find symbol
                  return HandlerResult.CONTINUE;
                         ^
        symbol: variable HandlerResult
        location: class ReceiveIntoDirect.ReceiveNotificationHandler
      /export/local/aurora/CommonData/j2se_rest/test/com/sun/nio/sctp/SctpChannel/ReceiveIntoDirect.java:225: error: method does not override or implement a method from a supertype
              @Override
              ^
      /export/local/aurora/CommonData/j2se_rest/test/com/sun/nio/sctp/SctpChannel/ReceiveIntoDirect.java:244: error: cannot find symbol
                  return HandlerResult.CONTINUE;
                         ^
        symbol: variable HandlerResult
        location: class ReceiveIntoDirect.ReceiveNotificationHandler
      /export/local/aurora/CommonData/j2se_rest/test/com/sun/nio/sctp/SctpChannel/ReceiveIntoDirect.java:239: error: method does not override or implement a method from a supertype
              @Override
              ^
      /export/local/aurora/CommonData/j2se_rest/test/com/sun/nio/sctp/SctpChannel/ReceiveIntoDirect.java:252: error: cannot find symbol
                  return HandlerResult.CONTINUE;
                         ^
        symbol: variable HandlerResult
        location: class ReceiveIntoDirect.ReceiveNotificationHandler
      /export/local/aurora/CommonData/j2se_rest/test/com/sun/nio/sctp/SctpChannel/ReceiveIntoDirect.java:247: error: method does not override or implement a method from a supertype
              @Override
              ^
      /export/local/aurora/CommonData/j2se_rest/test/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/com/sun/nio/sctp/SctpChannel/Util.java:61: error: cannot find symbol
                  SctpChannel c = SctpChannel.open();
                                  ^
        symbol: variable SctpChannel
        location: class Util
      41 errors
      result: Failed. Compilation failed: Compilation failed


      test result: Failed. Compilation failed: Compilation failed

            igerasim Ivan Gerasimov
            kshefov Konstantin Shefov
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

              Created:
              Updated:
              Resolved: