Extra ()'s in comment describing usage of vmSymbols

XMLWordPrintable

    • Type: Bug
    • Resolution: Not an Issue
    • Priority: P5
    • 9
    • Affects Version/s: 7
    • Component/s: hotspot
    • None
    • gc
    • generic
    • generic

      Subject: vmSymbols.hpp
      Date: Fri, 15 Dec 2006 14:56:12 +0800
      From: Lee Jingbo <###@###.###>
      Reply-To: ###@###.###
      To: hotspot-dev <###@###.###>



      I'v got a puzzle when I read
      \hotspot\src\share\vm\memory\vmSymbols.hpp Line 35~38
       
      line 35 // Sample usage:
      line 36 //
      line 37 // symbolOop obj = vmSymbols::java_lang_Object()();
      line 38 // SymbolHandle handle = vmSymbolHandles::java_lang_Object();
       
      The line 37, symbolOop obj = vmSymbols::java_lang_Object()(); ,
       
      I think that it may be: symbolOop obj = vmSymbols::java_lang_Object(); ,
      not with two ().
       
      Thanks,
      Lee Jingbo

            Assignee:
            Unassigned
            Reporter:
            Peter Kessler
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: