Mantis Bugtracker
  

Viewing Issue Advanced Details Jump to Notes ] View Simple ] Issue History ] Print ]
ID Category Severity Reproducibility Date Submitted Last Update
0002633 [Resin] trivial always 04-28-08 13:50 04-28-08 14:27
Reporter stbu View Status public  
Assigned To ferg
Priority normal Resolution fixed Platform
Status closed   OS
Projection none   OS Version
ETA none Fixed in Version 3.1.6 Product Version 3.1.6
  Product Build
Summary 0002633: Startup-Logging contains confusing Java Version since JDK 6u4
Description Up to Sun Java 1.6.0_03, the version of the Virtual Machine was in accordance with the shipped Runtime Version. Such as:

$ java -version
java version "1.6.0_02"
Java(TM) SE Runtime Environment (build 1.6.0_02-b06)
Java HotSpot(TM) Client VM (build 1.6.0_02-b06, mixed mode, sharing)


With Sun Java 1.6.0_04 this has been changed. See also http://java.sun.com/javase/6/webnotes/ReleaseNotes.html#160_04 [^]

<..>
Changes in 1.6.0_04
The full internal version number for this update release is 1.6.0_04-b12 (where "b" means "build"). The external version number is 6u4. Included in JDK 6u4 is version 10.0 of the Java HotSpot Virtual Machine.
<..>


For example the most recent 1.6 JDK returns the following information when started with -version argument:

$ java -version
java version "1.6.0_10-beta"
Java(TM) SE Runtime Environment (build 1.6.0_10-beta-b14)
Java HotSpot(TM) Client VM (build 11.0-b11, mixed mode, sharing)


The Startup-Logging of Resin includes the Output of "Java " + System.getProperty("java.vm.version") for example

[22:12:10.687] {main}
[22:12:10.828] {main} Windows XP 5.1 x86
[22:12:10.828] {main} Java 11.0-b11, 32, mixed mode, sharing, Cp1252, de, Sun Microsystems Inc.
[22:12:10.828] {main} user.name: stbu
[22:12:10.828] {main} resin.home = C:\Downloads\resin-pro-3.1.s080426
[22:12:10.828] {main} resin.root = C:\Downloads\resin-pro-3.1.s080426
[22:12:10.828] {main} resin.conf = /C:/Downloads/resin-pro-3.1.s080426/conf/resin.conf
[22:12:10.828] {main}

which is a little bit confusing since the above mentioned change. I think it would better to distinguish between the Java version (java.version), the Java Runtime (java.runtime.name + java.runtime.version) and the Virtual Machine (java.vm.name + java.vm.version).
Steps To Reproduce
Additional Information
Attached Files

- Relationships

There are no notes attached to this issue.

- Issue History
Date Modified Username Field Change
04-28-08 13:50 stbu New Issue
04-28-08 13:50 stbu Issue Monitored: stbu
04-28-08 14:27 ferg Assigned To  => ferg
04-28-08 14:27 ferg Status new => closed
04-28-08 14:27 ferg Resolution open => fixed
04-28-08 14:27 ferg Fixed in Version  => 3.1.6


Mantis 1.0.0rc3[^]
Copyright © 2000 - 2005 Mantis Group
28 total queries executed.
25 unique queries executed.
Powered by Mantis Bugtracker