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

TEST_BUG java/nio/channels/Selector/Wakeup.java compilation failed

    Details

    • Subcomponent:
    • Resolved In Build:
      b01
    • CPU:
      generic, x86
    • OS:
      generic, linux
    • Verification:
      Verified

      Backports

        Description

        Testsuite name: regression j2se
        test: java/nio/channels/Selector/Wakeup.java
        JDK/JRE tested: 1.5.0_27b01
        OS/architecture: linux-i586
        Reproducible: Always
        Reproducible on machine: local
        Is it a platform specific regression: N
        Is it a Regression: N

        Test run log location:

        Steps to reproduce:

        ik217385@ik217385-desktop:/export/regression/150u27b01$ ls | grep java
        TestThread.java
        TestUtil.java
        Wakeup.java
        ik217385@ik217385-desktop:/export/regression/150u27b01$ /export/jdk/150u27b01/jdk1.5.0_27/bin/javac *.java
        Wakeup.java:40: cannot reference log before supertype constructor has been called
        super("Sleeper", log);
                                     ^
        1 error


        Problem in inner class constructor:

            static class Sleeper extends TestThread {
        Sleeper(Selector sel) {
        super("Sleeper", log);
        this.sel = sel;
        }

          Attachments

            Issue Links

              Activity

                People

                • Assignee:
                  robm Robert Mckenna
                  Reporter:
                  ikobzaresunw Ivan Kobzarev (Inactive)
                • Votes:
                  0 Vote for this issue
                  Watchers:
                  1 Start watching this issue

                  Dates

                  • Created:
                    Updated:
                    Resolved:
                    Imported:
                    Indexed: