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

portability : VM assumes jlong is a scalar type

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: P4 P4
    • None
    • 1.3.0
    • core-libs
    • None
    • generic
    • solaris_7

      This bug report is on the same problem as 4110529, which has been closed.
      jvmdi.h contains the following line:

      #define JVMDI_MONITOR_WAIT_FOREVER ((jlong)(-1))

      This will cause problems for platforms where jlong is a struct.

      dean.long@Eng 1999-12-04

      I've found a few more places where this is a problem, so I have
      updated the synopsis so that it is no longer specific to jvmdi.h.

      New problems:

      FileInputStream.c, RandomAccessFile.c, ZipFile.c, ZipEntry.c, and
      zip_util.c. These are easy to find with the compiler. Just
      create a jlong_md.h that manipulates a struct.

      dean.long@Eng 1999-12-06

            Unassigned Unassigned
            dlong Dean Long
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Imported:
              Indexed: