← Back to team overview

openjdk team mailing list archive

[Bug 1550244] Re: Wrong version set in latest openjdk-8 builds

 

This bug is fixed in 8u91-b14-2ubuntu1:

shell$ java -version
openjdk version "1.8.0_91"
OpenJDK Runtime Environment (build 1.8.0_91-8u91-b14-2ubuntu1-b14)
OpenJDK 64-Bit Server VM (build 25.91-b14, mixed mode)

And based on the changelog, for Ubuntu 16.04, it should be fixed in
8u77-b03-3ubuntu4 and later. Commenter in comment #5 seems to have been
running unfixed version 8u77-b03-3ubuntu3.

Do note that appending anything to the version update number (like
"-Ubuntu"), as suggested in comment #5, is a bad idea -- some
applications will crash with java.lang.NumberFormatException when
parsing a string like "03-Ubuntu". Here's an example:

http://askubuntu.com/questions/762286/since-ubuntu-16-04-javaws-no-
longer-run-app-while-previously-run-fine-on-ubuntu

The version update number seems to be assumed to be a number by several
applications.

Fixed packages for Xenial should be produced as this breaks Java
applications out there.

-- 
You received this bug notification because you are a member of OpenJDK,
which is subscribed to openjdk-8 in Ubuntu.
https://bugs.launchpad.net/bugs/1550244

Title:
  Wrong version set in latest openjdk-8 builds

Status in openjdk-8 package in Ubuntu:
  Fix Released

Bug description:
  The current openjdk-8 build has a wrong version number set. `java
  -version`, `javac -version` etc. report the version string of this
  OpenJDK build as "java 1.8.0_01-internal", which is clearly wrong.
  This also triggers warnings about unsupported version in third party
  applications.

  Please update the build process, so that the reported version of
  openjdk-8 matches the actual version, like "1.8.0_72" or similar.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/openjdk-8/+bug/1550244/+subscriptions


References