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

hotspot crashes having user-defined java.lang.Object in bootclasspath

    XMLWordPrintable

    Details

    • Subcomponent:
    • CPU:
      sparc
    • OS:
      solaris_7

      Description



      Name: poR10007 Date: 07/27/2000



      Hotspot (JDK1.3.0fcsC, JDK1.4.0beta-b24, solaris) crashes during
      startup when redefined java.lang.Object class precedes standard
      Object class in the bootclasspath. Classic VM reports an exception
      under the same conditions. Inserting incorrect core classes in the
      bootclasspath is not good practice but JVM should be stable enough
      to track such issues (like classic VM does).

      --Object.java-----------------------------------------------------
      package java.lang;
      public class Object {}
      ------------------------------------------------------------------

      --Execution log---------------------------------------------------
      $ javac -d . Object.java
      $ java -version
      java version "1.4.0beta"
      Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.0beta-b24)
      Java HotSpot(TM) Core VM (build 1.3-internal, interpreted mode)
      $ java -Xbootclasspath/p:.
      #
      # HotSpot Virtual Machine Error, Unexpected Signal 11
      # Please report this error at
      # http://java.sun.com/cgi-bin/bugreport.cgi
      #
      # Error ID: 4F533F534F4C415249530E4350500789 FF (Error ID: os_solaris.cpp, 1929)
      #
      # Problematic Thread: prio=1 tid=0x28500 nid=0x1 runnable
      #
      Abort (core dumped)
      $ java -classic -Xbootclasspath/p:.
      Exception in thread "main" Could not create the Java virtual machine.
      $
      ------------------------------------------------------------------

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

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              kbr Kenneth Russell (Inactive)
              Reporter:
              passunw Pas Pas (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:
                Imported:
                Indexed: