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

(1.1) shared code mod for OpenVMS, redundant calls result in misleading error

    XMLWordPrintable

    Details

    • Type: Enhancement
    • Status: Closed
    • Priority: P5
    • Resolution: Won't Fix
    • Affects Version/s: 1.1.6
    • Fix Version/s: None
    • Component/s: hotspot
    • Subcomponent:
    • CPU:
      generic
    • OS:
      generic

      Description

      For the JDK 116 release on the OpenVMS platform running on DIGITAL's
      hardware, DIGITAL has changed, the following JDK 116 source files
      in the shared part of the JDK.

      diff -c -r JDK116/src/share/java/lang/method.c
      sun_JDK116/src/share/java/lang/method.c
      *** JDK116/src/share/java/lang/method.c Fri Feb 27 21:38:52 1998
      --- sun_JDK116/src/share/java/lang/method.c Thu Apr 16 13:49:50 1998
      ***************
      *** 691,699 ****

            /* Allocate the object */
            if ((o = newobject(cb, 0, ee)) == NULL) {
      ! if (!exceptionOccurred(ee)) { /*** HDS - sun bug #4041297. ***/
      ! OutOfMemoryError();
      ! }
              return NULL;
            }

      --- 691,697 ----

            /* Allocate the object */
            if ((o = newobject(cb, 0, ee)) == NULL) {
      ! OutOfMemoryError();
              return NULL;
            }
       


      diff -c -r JDK116/src/share/java/runtime/interpreter.c
      sun_JDK116/src/share/java/runtime/interpreter.c
      *** JDK116/src/share/java/runtime/interpreter.c Thu May 21 02:04:13 1998
      --- sun_JDK116/src/share/java/runtime/interpreter.c Tue May 19 22:42:52 1998


      *** 402,410 ****

            /* Allocate the object and call the constructor */
            if ((obj = newobject(cb, 0, ee)) == 0) {
      ! if (!exceptionOccurred(ee)) { /*** HDS - sun bug #4041297. ***/
      ! SignalError(0, JAVAPKG "OutOfMemoryError", 0);
      ! }
              return 0;
            }
            TRACE(("execute_java_constructor new %s => %s\n",
      --- 398,404 ----

            /* Allocate the object and call the constructor */
            if ((obj = newobject(cb, 0, ee)) == 0) {
      ! SignalError(0, JAVAPKG "OutOfMemoryError", 0);
              return 0;
            }
            TRACE(("execute_java_constructor new %s => %s\n",
       


      diff -c -r JDK116/src/share/java/runtime/jni.c
      sun_JDK116/src/share/java/runtime/jni.c
      *** JDK116/src/share/java/runtime/jni.c Thu Apr 30 03:58:02 1998
      --- sun_JDK116/src/share/java/runtime/jni.c Thu Apr 16 13:50:06 1998
      ***************
      *** 1135,1143 ****
            obj = newobject(cb, 0, ee);
            if (obj == NULL) {
      ! if (!exceptionOccurred(ee)) { /*** HDS - sun bug #4041297. ***/
      ! SignalError(ee, JAVAPKG "OutOfMemoryError", NULL);
      ! }
                return NULL;
            }
       
      --- 1134,1140 ----
       
            obj = newobject(cb, 0, ee);
            if (obj == NULL) {
      ! SignalError(ee, JAVAPKG "OutOfMemoryError", NULL);
                return NULL;
            }

       

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              Unassigned Unassigned
              Reporter:
              jbenoit Jonathan Benoit (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:
                Imported:
                Indexed: