Broken methods (inlining)

XMLWordPrintable

    • Type: Bug
    • Resolution: Duplicate
    • Priority: P1
    • hs11
    • Affects Version/s: 6u10
    • Component/s: 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

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

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: