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

RFE: Please add nested /* */ comments

    XMLWordPrintable

    Details

    • Type: Enhancement
    • Status: Closed
    • Priority: P4
    • Resolution: Won't Fix
    • Affects Version/s: 1.2.2, 1.3.1
    • Fix Version/s: None
    • Component/s: specification
    • Labels:
    • Subcomponent:
    • CPU:
      generic, x86
    • OS:
      generic, windows_nt

      Description



      Name: rlT66838 Date: 08/06/99


      Currently, it is very tedious to comment out large block of Java code because both javadoc headers and multi-line comments do not nest. For example, it is impossible to easily comment out several javadoc'd methods because the javadoc headers are treated as comments.

      So, for example, the following block would be legal, commented code:

      /*
        /**
         * My method does X
         *
         */
        public void doX()
        {
           doXWayOne();
           /*
           doXWayTwo();
           doXWayThree();
           */
        }
      */
      (Review ID: 93556)
      ======================================================================

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              abuckley Alex Buckley
              Reporter:
              rlewis Roger Lewis (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:
                Imported:
                Indexed: