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

[TEST_BUG] jdb has succeded to read an unreadable file

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: P4
    • Resolution: Fixed
    • Affects Version/s: 9
    • Fix Version/s: 9
    • Component/s: core-svc
    • Labels:
    • Subcomponent:
    • Resolved In Build:
      b62
    • CPU:
      generic
    • OS:
      solaris

      Backports

        Description

        #section:shell
        ----------messages:(3/128)----------
        command: shell JdbReadTwiceTest.sh
        reason: User specified action: run shell JdbReadTwiceTest.sh
        elapsed time (seconds): 21.219
        ----------System.out:(60/3958)----------

        ...

        +++++++++++++++++++++++++++++++++++
        Read an unreadable file - verify the read fails.
        OK. the file is unreadable
        Failed: Expected 1, got 0: open: /export/local/aurora/sandbox/results/workDir/classes/0/com/sun/jdi/jdbRead2461/home/jdb.ini
        -----
        Initializing jdb ...
        *** Reading commands from /export/local/aurora/sandbox/results/workDir/classes/0/com/sun/jdi/jdbRead2461/home/jdb.ini
        Unrecognized command: 'uid=62012(gtee)'. Try help...
        > > -----

        +++++++++++++++++++++++++++++++++++
        Read a directory - verify the read fails
        Passed: Expected 1, got 1: open: /export/local/aurora/sandbox/results/workDir/classes/0/com/sun/jdi/jdbRead2461/home/jdb.ini

        +++++++++++++++++++++++++++++++++++
        Verify the jdb read command still works
        Passed: Expected 1, got 1: from /export/local/aurora/sandbox/results/workDir/classes/0/com/sun/jdi/jdbRead2461/fred
        Failed: Expected 1, got 0: open: /export/local/aurora/sandbox/results/workDir/classes/0/com/sun/jdi/jdbRead2461/fred
        -----
        Initializing jdb ...
        *** Reading commands from /export/local/aurora/sandbox/results/workDir/classes/0/com/sun/jdi/jdbRead2461/jdb.ini
        *** Reading commands from /export/local/aurora/sandbox/results/workDir/classes/0/com/sun/jdi/jdbRead2461/fred
        > > -----
        Passed: Expected 1, got 1: open: /export/local/aurora/sandbox/results/workDir/classes/0/com/sun/jdi/jdbRead2461/fred
        One or more tests failed

          Activity

          Hide
          hgupdate HG Updates added a comment -
          URL: http://hg.openjdk.java.net/jdk9/dev/jdk/rev/9fa549e06f83
          User: dsamersoff
          Date: 2015-04-20 18:04:25 +0000
          Show
          hgupdate HG Updates added a comment - URL: http://hg.openjdk.java.net/jdk9/dev/jdk/rev/9fa549e06f83 User: dsamersoff Date: 2015-04-20 18:04:25 +0000
          Hide
          hgupdate HG Updates added a comment -
          URL: http://hg.openjdk.java.net/jdk9/jdk9/jdk/rev/9fa549e06f83
          User: lana
          Date: 2015-04-29 18:01:57 +0000
          Show
          hgupdate HG Updates added a comment - URL: http://hg.openjdk.java.net/jdk9/jdk9/jdk/rev/9fa549e06f83 User: lana Date: 2015-04-29 18:01:57 +0000

            People

            • Assignee:
              dsamersoff Dmitry Samersoff
              Reporter:
              ykantser Yekaterina Kantserova (Inactive)
            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: