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

java.io.File.length does not work on large files (solaris)

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • P2
    • 1.3.0
    • 1.2.2
    • core-libs
    • 1.2
    • beta
    • sparc
    • solaris_2.6

    Description



      Name: maT68022 Date: 01/15/99

      Regression test java/io/File/Basic.java Failing
      #Test Results
      #Fri Jan 15 14:47:14 PST 1999
      testsuite=/net/tapas/export3/testexec/REGRESSION/tests/jdk1.2/test
      source=Basic.java
      title=Basic heartbeat test for File methods that access the filesystem
      status=Failed. Execution failed: exit code 1
      work=/net/tapas/export3/testexec/REGRESSION/results/kurtz5.6-harness115-testwith
      122c-01-15-14.20/java/io/File
      execStatus=Failed. Execution failed: exit code 1
      description=file:/net/tapas/export3/testexec/REGRESSION/tests/jdk1.2/test/java/i
      o/File/Basic.java
      javatestVersion=JT_2.0_zn
      sections=compile compile shell shell
      file=/net/tapas/export3/testexec/REGRESSION/tests/jdk1.2/test/java/io/File/Basic
      .java
      end=Fri Jan 15 14:47:13 PST 1999
      bug=4165666
      run=1 build Basic\n1 shell basic.sh\n
      start=Fri Jan 15 14:47:06 PST 1999
      keywords=4165666
      environment=regtest

      test: java/io/File/Basic.java
      script: javasoft.sqe.javatest.regtest.RegressionScript
      JDK under test: java full version "JDK-1.2.2-C"
      (/net/tapas/export1/testexec/jdk122c/solaris)
      command: build Basic
      reason: User specified action: run build Basic
      command: compile
      /net/tapas/export3/testexec/REGRESSION/tests/jdk1.2/test/java/io/File/Basic.java
      reason: .class file out of date or does not exist
      ----------ref:compile(0/0)----------
      ----------log:compile(0/0)----------
      command: compile result: Passed. Compilation successful
      command: build result: Passed. Compilation successful
      command: shell basic.sh
      reason: User specified action: run shell basic.sh
      ----------ref:shell(0/0)----------
      ----------log:shell(36/729)----------
      x.Basic.non:
        exists: false
        isFile: false
        isDirectory: false
        canRead: false
        canWrite: false
        lastModified: 0
        length: 0
      x.Basic.rw:
        exists: true
        isFile: true
        isDirectory: false
        canRead: true
        canWrite: true
        lastModified: 916440206000
        length: 6
      x.Basic.ro:
        exists: true
        isFile: true
        isDirectory: false
        canRead: true
        canWrite: false
        lastModified: 916440207000
        length: 0
      .:
        exists: true
        isFile: false
        isDirectory: true
        canRead: true
        canWrite: true
        lastModified: 916440207000
        length: 512
        [3] x.Basic.rw x.Basic.ro x.Basic.dir
      Exception in thread "main" java.lang.Exception: x.Basic.rw Large files broken
      4294967294
      at Basic.fail(Compiled Code)
      at Basic.main(Compiled Code)
      command: shell result: Failed. Execution failed: exit code 1
      test result: Failed. Execution failed: exit code 1
      ======================================================================

      Attachments

        Issue Links

          Activity

            People

              mmcclosksunw Michael Mccloskey (Inactive)
              mavvarisunw Madhava Avvari (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:
                Imported:
                Indexed: