Missing java.lang.Byte.byteValue()

Petter Reinholdtsen pere at cc.uit.no
Mon Sep 7 15:23:14 PDT 1998


I just discovered that the current Kaffe is missing
java.lang.Byte.byteValue().  Here is the patch:


Index: libraries/javalib/java/lang/Byte.java
===================================================================
RCS file: /home/cvspublic/kaffe/libraries/javalib/java/lang/Byte.java,v
retrieving revision 1.2
diff -u -r1.2 Byte.java
--- Byte.java   1998/08/05 21:16:13     1.2
+++ Byte.java   1998/09/07 22:15:34
@@ -74,6 +74,11 @@
        return (val);   // What should this be do you suppose ???
 }
 
+public byte byteValue()
+       {
+       return (val);
+}
+
 public int intValue()
        {
        return ((int)val);
-- 
##>  Petter Reinholdtsen <##    | pere at td.org.uit.no
 O-  <SCRIPT Language="Javascript">window.close()</SCRIPT>
http://www.hungry.com/~pere/    | Go Mozilla, go! Go!


More information about the kaffe mailing list