classpath-patches
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[cp-patches] Patch: FYI: add @specnote to System


From: Tom Tromey
Subject: [cp-patches] Patch: FYI: add @specnote to System
Date: 28 Sep 2004 15:36:59 -0600

I thought System.getenv would benefit from the addition of a
@specnote explaining a little history.

Tom

Index: ChangeLog
from  Tom Tromey  <address@hidden>

        * java/lang/System.java (getenv): Added @specnote.

Index: java/lang/System.java
===================================================================
RCS file: /cvsroot/classpath/classpath/java/lang/System.java,v
retrieving revision 1.39
diff -u -r1.39 System.java
--- java/lang/System.java 28 Aug 2004 19:37:39 -0000 1.39
+++ java/lang/System.java 28 Sep 2004 21:38:49 -0000
@@ -592,6 +592,8 @@
    * @throws NullPointerException
    * @throws SecurityException if permission is denied
    * @since 1.5
+   * @specnote This method was deprecated in some JDK releases, but
+   *           was restored in 1.5.
    */
   public static String getenv(String name)
   {




reply via email to

[Prev in Thread] Current Thread [Next in Thread]