RFR: 8252537: Updated @exception with @throws
    Serguei Spitsyn 
    sspitsyn at openjdk.java.net
       
    Tue Sep 15 18:17:25 UTC 2020
    
    
  
On Wed, 9 Sep 2020 19:29:30 GMT, Vipin Sharma <vsharma at openjdk.org> wrote:
> Updated @exception with @throws for core-libs, it fixes all open sub-tasks of JDK-8252536.
> 
> Open Subtasks part of this fix are:
> 1. JDK-8252537
> 2. JDK-8252539
> 3. JDK-8252540
> 4. JDK-8252541
> 
> Previous conversation on this:
> https://mail.openjdk.java.net/pipermail/core-libs-dev/2020-September/068540.html
I've only looked at the management files. They look good in general.
src/java.management/share/classes/java/lang/management/ClassLoadingMXBean.java
108      * @throws  java.lang.SecurityException if a security manager
109      *             exists and the caller does not have
110      *             ManagementPermission("control").
src/java.management/share/classes/java/lang/management/MemoryMXBean.java
286      * @throws  java.lang.SecurityException if a security manager
287      *             exists and the caller does not have
288      *             ManagementPermission("control").
Could you, please, fix the indentation?
-------------
Changes requested by sspitsyn (Reviewer).
PR: https://git.openjdk.java.net/jdk/pull/95
    
    
More information about the serviceability-dev
mailing list