http://cr.openjdk.java.net/~weijun/7107522/webrev.00/
We must stay with the fact that a build number cannot exceed 255 while the system property "java.runtime.version" might show a bigger one. This fix only makes sure the test always passes.
If you think there should be a more proper mail list to send to, please tell me.
Thanks Max On 11/02/2011 07:41 PM, weijun.w...@oracle.com wrote:
*Change Request ID*: 7107522 *Synopsis*: sun/misc/Version/Version.java fails because of its huge build number === *Description* ============================================================ sun/misc/Version/Version.java always fails for nightly tests, because the build number from Hudson is like b9123. A normal build number should be less than 256, as shown in jvm.h: #define JDK_VERSION_BUILD(version) ((version& 0x000000FF))