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

Argument stack corruption by JIT in 1.1.6 calling static native method

XMLWordPrintable



      Name: tb29552 Date: 05/18/98


      Calling the following final static native method with under the JIT compiler in
      1.1.6 corrupts the last two arguments:

      private static native void drawRestrictedText(int fp, double x, double y,
                             String text, int alignment, double rotation);

      This worked under 1.1.5 with the JPP and also
      1.1.5 with the JIT copied from 1.2beta3.

      Reordering the arguments didnt work. Dropping one argument
      doesnt work either, so there seems to be a limit of 4.
      (Review ID: 29250)
      ======================================================================

            dviswanasunw Deepa Viswanathan (Inactive)
            tbell Tim Bell
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: