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
- duplicates
-
JDK-4286253 Make language support nested comments
-
- Closed
-
- relates to
-
JDK-8251913 3.7: Clarify statement that "Comments do not nest"
-
- Open
-