harmony-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Nathan Beyer (JIRA)" <j...@apache.org>
Subject [jira] Updated: (HARMONY-180) [classlib][luni] Java 5 enhancements for java.lang.Byte
Date Tue, 07 Mar 2006 04:37:39 GMT
     [ http://issues.apache.org/jira/browse/HARMONY-180?page=all ]

Nathan Beyer updated HARMONY-180:

    Attachment: ByteTest.java

'Byte_java_5_patch.txt' is a patch for java.lang.Byte to implement Java 5 enhancements. The
most notable is the 'valueOf(byte)', which I've implemented with a simple array-based cache.
I've also updated the other methods that used the 'Byte(byte)' constructor to use this method
instead. I believe these new 'valueOf' methods in the primitive wrappers are intended to be
utilized by the VM (compiler?) for auto-boxing, hence the caching to help resource consumption.

The 'BytesTest.java' is an initial swipe at the test case. Currently it only tests the new
method. I'll try to flush it out more completely later.

> [classlib][luni] Java 5 enhancements for java.lang.Byte
> -------------------------------------------------------
>          Key: HARMONY-180
>          URL: http://issues.apache.org/jira/browse/HARMONY-180
>      Project: Harmony
>         Type: Improvement
>   Components: Classlib
>     Reporter: Nathan Beyer
>  Attachments: ByteTest.java, Byte_java_5_patch.txt
> Enhancements for java.lang.Byte, test cases, javadoc and a little cleanup.

This message is automatically generated by JIRA.
If you think it was sent incorrectly contact one of the administrators:
For more information on JIRA, see:

View raw message