Closed mariswa closed 1 year ago
the version string is just "10" or "10+46"? Do you know what it is for jdk 9?
doesn't the 'hasDot' guard prevent you from entering that code?
What version are you running, as the line number 190 seems off from the HEAD revision
Yep, have to install 9.0.4 and it works well now
Regards Marina
On Apr 11, 2018, at 9:13 PM, Dave Brosius notifications@github.com wrote:
the version string is just "10" i take it? Do you know what it is for jdk 9?
— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub, or mute the thread.
On latest 2 versions of community edition (3.5 and 3.6 i think) its the same. I also was wondering why line 190 seems it doesn't look exactly the line for vm version parsing but based on exception details it looks like that
Regards Marina
On Apr 11, 2018, at 9:18 PM, Dave Brosius notifications@github.com wrote:
What version are you running, as the line number 190 seems off from the HEAD revision
— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub, or mute the thread.
The new code should not suffer from that problem any more.
Hey! Just installed JDK 10 build 10+46 and MemoryLayoutSpecification throws an exception
_> -- StackTrace --
I suppose most probably it caused by version parsing code:
specifically by
final int vmVersion = Integer.parseInt(strVmVersion.substring(0, strVmVersion.indexOf('.')));
when taking index of "." w\o any check