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

JCK: FileReader constructor crashes jvm

    XMLWordPrintable

Details

    • Bug
    • Resolution: Duplicate
    • P1
    • None
    • 1.4.0
    • hotspot
    • x86
    • windows_nt

    Description



      Name: asR10013 Date: 02/20/2001



      Bug description --->
      Constructor FileReader(File file) causes jvm to crash.
      The bug is reproducible using -server -Xcomp options only.
      Please note, that bug is not reproducible on Windows Me platform.
      ****************************************************************************

      Failing Test:
      =============
      api/java_io/FileWriter/index.html#FWWrite1Test
      api/java_io/FileWriter/index.html#FWFlushTest
      api/java_io/FileWriter/index.html#FWWrite4Test
      api/java_io/FileWriter/index.html#FWWrite2Test
      api/java_io/FileWriter/index.html#FWWrite3Test
      api/java_io/FileWriter/index.html#FWWrite5Test
      api/java_io/FileInputStream/index.html#CtorFile
      api/java_io/FileInputStream/index.html#CtorString
      api/java_io/FileInputStream/index.html#CtorFD
      api/java_io/FileOutputStream/descriptions.html#getFD
      api/java_io/FileOutputStream/descriptions.html#SecurityEx
      api/java_io/FileOutputStream/descriptions.html#Ctor
      api/java_io/File/descriptions.html#list
      api/java_io/File/descriptions.html#isDirectory
      api/java_io/File/descriptions.html#isFile
      api/java_io/File/descriptions.html#canRead
      api/java_io/File/descriptions.html#SecurityEx
      api/java_io/File/descriptions.html#length
      api/java_io/File/descriptions.html#canWrite
      api/java_io/File/descriptions.html#mkdir
      api/java_io/File/descriptions.html#exists
      api/java_io/File/descriptions.html#mkdirs
      api/java_io/File/descriptions.html#delete
      api/java_io/File/descriptions.html#Ctor
      api/java_io/FileReader/index.html#FRSkipTest
      api/java_io/FileReader/index.html#FRMarkTest
      api/java_io/FileReader/index.html#FRConstructor1Test
      api/java_io/FileReader/index.html#FRMarkSupportedTest
      api/java_io/FileReader/index.html#FRReadyTest
      api/java_io/FileReader/index.html#FRGetEncodingTest
      api/java_io/FileReader/index.html#FRCloseTest
      api/java_io/FileReader/index.html#FRConstructor2Test
      api/java_io/FileReader/index.html#FRConstructor3Test
      api/java_io/FileReader/index.html#FRResetTest
      api/java_io/RandomAccessFile/descriptions.html#SecurityEx
      api/java_io/RandomAccessFile/descriptions.html#Ctor

      JCK :
      =====
      JCK1.3a

      Test source location:
      ====================
      /net/jdk/export/disk8/local.java/jck1.3a/JCK-runtime-13a/tests/api/java_io/FileReader/FRCons2Test.java

      Platforms:
      =============
      Windows NT 4.0 (SMP)
      Windows NT 4.0
      Windows 95
      Windows 98
      Windows 2000

      JDK, switches Info:
      ===================
      jdk1.4.0-b52 -server -Xcomp -Xfuture

      jtr file location:
      ==================
      /net/jtgb4u4c.eng/export/sail7/JavaWebServer1.1.3/public_html/QA/merlin/b52/jck13a/win32/winnt4.0_smp_server_comp_linux-21/workDir/api/java_io/FileReader/index_FRConstructor2Test.jtr

      How to reproduce:
      ====================
      Compile and execute the following sample code:

      import java.io.*;

      class test {
          public static void main(String args[]) throws Exception {
      FileReader fr = new FileReader(new File("C:\\autoexec.bat"));
      System.out.println("OK");
          }
      }

      Test output:
      =============
      #
      # HotSpot Virtual Machine Error, Internal Error
      # Please report this error at
      # http://java.sun.com/cgi-bin/bugreport.cgi
      #
      # Error ID: 53484152454432554E54494D450E43505000F8
      #
      # Problematic Thread: prio=5 tid=0x00761EB0 nid=0xd7 initialized
      #

      Specific Machine Info:
      =====================

      Additional JCK related info:
      ============================
      URL to find JCK test owners: http://javaweb.eng/jck/usr/owners.jto


      ======================================================================

      Attachments

        Issue Links

          Activity

            People

              azeemj Azeem Jiva
              alssunw Als Als (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:
                Imported:
                Indexed: