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

Broken methods (inlining)

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Duplicate
    • Icon: P1 P1
    • hs11
    • 6u10
    • hotspot
    • None
    • x86
    • solaris_10

      It looks like these methods does not work correctly (maybe if inlined):
      private boolean toBoolean(long r) {
          return r == 0 ? false : true;
      }

      private long toLong(boolean b) {
          return b ? 1 : 0;
      }

      see comments for details

            Unassigned Unassigned
            eushakov Egor Ushakov
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: