portability : VM assumes jlong is a scalar type

XMLWordPrintable

    • Type: Bug
    • Resolution: Unresolved
    • Priority: P4
    • None
    • Affects Version/s: 1.3.0
    • Component/s: 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

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

              Created:
              Updated:
              Imported:
              Indexed: