Details
Description
Attempting to run a Pivot application with Oracle JDK8u131 results in the following stacktrace
Caused by: java.lang.NumberFormatException: Value out of range. Value:"131" Radix:10 at java.lang.Byte.parseByte(Byte.java:151) at java.lang.Byte.parseByte(Byte.java:175) at org.apache.pivot.util.Version.decode(Version.java:150) at org.apache.pivot.wtk.ApplicationContext.<clinit>(ApplicationContext.java:1697) ... 15 more
The problem is located in the `Version` class. This class parses version numbers using Byte. 131 is clearly out of range. Should use `Short` or `Integer` instead.
Attachments
Issue Links
- relates to
-
PIVOT-996 Unable to run with SAP JVM
- Closed