问题
I am experiencing a bug in the JDK that I'm using, and I have found a reference to it in Sun's (Oracle's) bug database. It says the fixed versions are hs21(b13), 7(b143), but I don't know how to figure out which release of the JDK the fix is in.
I have seen this post: Java version names in Sun's bug database, but it doesn't really answer my question.
Edit: I'm trying to figure out which release of JDK (e.g. 1.7.0_07) corresponds to 7(b143). In other words, I want to know the earliest released version that the fix for this bug is in.
回答1:
hs
is for HotSpot and 7
is for the JRE.
So JRE 7, build 143 and HotSpot JVM 21.0 build b13
If you do java -version
in a console prompt, it'll tell you what JDK and build you have.
The bug you are referring to shows what environment it was detected in:
# JRE version: 7.0-b139
# Java VM: Java HotSpot(TM) Client VM (21.0-b09 mixed mode, sharing solaris-x86 )
So it's happening in 7(b139)
and hs21(b09)
and fixed in 7(b143)
and hs21(b13)
I hope this helps.
来源:https://stackoverflow.com/questions/12606889/how-to-find-jdk-release-from-build-numbers-in-sun-bug-database