harmony-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From telli...@apache.org
Subject svn commit: r546155 - in /harmony/enhanced/drlvm/trunk/vm/vmcore/src/kernel_classes/javasrc/java/lang: ClassLoader.java Runtime.java System.java Thread.java ThreadGroup.java
Date Mon, 11 Jun 2007 14:17:56 GMT
Author: tellison
Date: Mon Jun 11 07:17:55 2007
New Revision: 546155

URL: http://svn.apache.org/viewvc?view=rev&rev=546155
Log:
Mark a number of kernel class API methods deprecated as spec.

Modified:
    harmony/enhanced/drlvm/trunk/vm/vmcore/src/kernel_classes/javasrc/java/lang/ClassLoader.java
    harmony/enhanced/drlvm/trunk/vm/vmcore/src/kernel_classes/javasrc/java/lang/Runtime.java
    harmony/enhanced/drlvm/trunk/vm/vmcore/src/kernel_classes/javasrc/java/lang/System.java
    harmony/enhanced/drlvm/trunk/vm/vmcore/src/kernel_classes/javasrc/java/lang/Thread.java
    harmony/enhanced/drlvm/trunk/vm/vmcore/src/kernel_classes/javasrc/java/lang/ThreadGroup.java

Modified: harmony/enhanced/drlvm/trunk/vm/vmcore/src/kernel_classes/javasrc/java/lang/ClassLoader.java
URL: http://svn.apache.org/viewvc/harmony/enhanced/drlvm/trunk/vm/vmcore/src/kernel_classes/javasrc/java/lang/ClassLoader.java?view=diff&rev=546155&r1=546154&r2=546155
==============================================================================
--- harmony/enhanced/drlvm/trunk/vm/vmcore/src/kernel_classes/javasrc/java/lang/ClassLoader.java
(original)
+++ harmony/enhanced/drlvm/trunk/vm/vmcore/src/kernel_classes/javasrc/java/lang/ClassLoader.java
Mon Jun 11 07:17:55 2007
@@ -364,6 +364,7 @@
 
     /**
      * @com.intel.drl.spec_ref
+     * @deprecated
      */
     protected final Class<?> defineClass(byte[] data, int offset, int len)
         throws ClassFormatError {

Modified: harmony/enhanced/drlvm/trunk/vm/vmcore/src/kernel_classes/javasrc/java/lang/Runtime.java
URL: http://svn.apache.org/viewvc/harmony/enhanced/drlvm/trunk/vm/vmcore/src/kernel_classes/javasrc/java/lang/Runtime.java?view=diff&rev=546155&r1=546154&r2=546155
==============================================================================
--- harmony/enhanced/drlvm/trunk/vm/vmcore/src/kernel_classes/javasrc/java/lang/Runtime.java
(original)
+++ harmony/enhanced/drlvm/trunk/vm/vmcore/src/kernel_classes/javasrc/java/lang/Runtime.java
Mon Jun 11 07:17:55 2007
@@ -524,6 +524,7 @@
 
     /**
      * @com.intel.drl.spec_ref  
+     * @deprecated
      */
     public static void runFinalizersOnExit(boolean value) {
         SecurityManager sm = System.getSecurityManager();
@@ -809,6 +810,7 @@
 
     /**
      * @com.intel.drl.spec_ref  
+     * @deprecated
      */
     public InputStream getLocalizedInputStream(InputStream in) {
         //XXX: return new BufferedInputStream( (InputStream) (Object) new InputStreamReader(
in ) );
@@ -817,6 +819,7 @@
 
     /**
      * @com.intel.drl.spec_ref  
+     * @deprecated
      */
     public OutputStream getLocalizedOutputStream(OutputStream out) {
         //XXX: return new BufferedOutputStream( (OutputStream) (Object) new OutputStreamWriter(
out ) );

Modified: harmony/enhanced/drlvm/trunk/vm/vmcore/src/kernel_classes/javasrc/java/lang/System.java
URL: http://svn.apache.org/viewvc/harmony/enhanced/drlvm/trunk/vm/vmcore/src/kernel_classes/javasrc/java/lang/System.java?view=diff&rev=546155&r1=546154&r2=546155
==============================================================================
--- harmony/enhanced/drlvm/trunk/vm/vmcore/src/kernel_classes/javasrc/java/lang/System.java
(original)
+++ harmony/enhanced/drlvm/trunk/vm/vmcore/src/kernel_classes/javasrc/java/lang/System.java
Mon Jun 11 07:17:55 2007
@@ -249,6 +249,7 @@
 
     /**
      * @com.intel.drl.spec_ref
+     * @deprecated
      */
     public static void runFinalizersOnExit(boolean value) {
         Runtime.runFinalizersOnExit(value);

Modified: harmony/enhanced/drlvm/trunk/vm/vmcore/src/kernel_classes/javasrc/java/lang/Thread.java
URL: http://svn.apache.org/viewvc/harmony/enhanced/drlvm/trunk/vm/vmcore/src/kernel_classes/javasrc/java/lang/Thread.java?view=diff&rev=546155&r1=546154&r2=546155
==============================================================================
--- harmony/enhanced/drlvm/trunk/vm/vmcore/src/kernel_classes/javasrc/java/lang/Thread.java
(original)
+++ harmony/enhanced/drlvm/trunk/vm/vmcore/src/kernel_classes/javasrc/java/lang/Thread.java
Mon Jun 11 07:17:55 2007
@@ -409,6 +409,7 @@
 
     /**
      * @com.intel.drl.spec_ref
+     * @deprecated
      */
     public int countStackFrames() {
         return 0; //deprecated
@@ -416,6 +417,7 @@
 
     /**
      * @com.intel.drl.spec_ref
+     * @deprecated
      */
     public void destroy() {
         // this method is not implemented
@@ -641,6 +643,7 @@
      *  hythread does the synchronization for us
      *  
      * @com.intel.drl.spec_ref
+     * @deprecated
      */
     public final void resume() {
             checkAccess();
@@ -817,6 +820,7 @@
 
     /**
      * @com.intel.drl.spec_ref
+     * @deprecated
      */
     public final void stop() {
         synchronized (lock) {
@@ -828,6 +832,7 @@
 
     /**
      * @com.intel.drl.spec_ref
+     * @deprecated
      */
     public final void stop(Throwable throwable) {
         SecurityManager securityManager = System.getSecurityManager();
@@ -857,6 +862,7 @@
      *  hythread does the synchronization for us
      *  
      * @com.intel.drl.spec_ref
+     * @deprecated
      */
     public final void suspend() {
             checkAccess();

Modified: harmony/enhanced/drlvm/trunk/vm/vmcore/src/kernel_classes/javasrc/java/lang/ThreadGroup.java
URL: http://svn.apache.org/viewvc/harmony/enhanced/drlvm/trunk/vm/vmcore/src/kernel_classes/javasrc/java/lang/ThreadGroup.java?view=diff&rev=546155&r1=546154&r2=546155
==============================================================================
--- harmony/enhanced/drlvm/trunk/vm/vmcore/src/kernel_classes/javasrc/java/lang/ThreadGroup.java
(original)
+++ harmony/enhanced/drlvm/trunk/vm/vmcore/src/kernel_classes/javasrc/java/lang/ThreadGroup.java
Mon Jun 11 07:17:55 2007
@@ -161,6 +161,7 @@
     /**
      * @com.intel.drl.spec_ref Note: This implementation always returns
      *                         <code>false</code>.
+     * @deprecated
      */
     public boolean allowThreadSuspension(boolean b) {
         return false;
@@ -296,6 +297,7 @@
 
     /**
      * @com.intel.drl.spec_ref
+     * @deprecated
      */
     public final void resume() {
         checkAccess();
@@ -336,6 +338,7 @@
 
     /**
      * @com.intel.drl.spec_ref
+     * @deprecated
      */
     public final void stop() {
         checkAccess();
@@ -344,6 +347,7 @@
 
     /**
      * @com.intel.drl.spec_ref
+     * @deprecated
      */
     public final void suspend() {
         checkAccess();



Mime
View raw message