openjdk team mailing list archive
-
openjdk team
-
Mailing list archive
-
Message #12619
[Bug 1722410] Re: java9: -version output seems wrong: "9-Ubuntu"
the spec doesn't talk how to identify vendor builds, and doesn't talk
about how to configure the build to include this information in the
version information. Yes, it should be changed. Let's wait for the
first "update" version, how the version information will change with
that.
--
You received this bug notification because you are a member of OpenJDK,
which is subscribed to openjdk-9 in Ubuntu.
https://bugs.launchpad.net/bugs/1722410
Title:
java9: -version output seems wrong: "9-Ubuntu"
Status in openjdk-9 package in Ubuntu:
Confirmed
Bug description:
Unless something big changed upstream, or regarding a policy
somewhere, the version string that's printed when you run "java
-version" seems wrong with openjdk-9:
$ java -version
openjdk version "9-Ubuntu"
OpenJDK Runtime Environment (build 9-Ubuntu+0-9b181-4)
OpenJDK 64-Bit Server VM (build 9-Ubuntu+0-9b181-4, mixed mode)
That is causing at least one application I have, from the Brazilian IRS, to fail when parsing that string (screenshot attached):
"""
For input string: "9-U"
"""
It works just fine with jre 1.8, where the -version output is saner:
$ /usr/lib/jvm/java-8-openjdk-amd64/bin/java -version
openjdk version "1.8.0_144"
OpenJDK Runtime Environment (build 1.8.0_144-8u144-b01-2-b01)
OpenJDK 64-Bit Server VM (build 25.144-b01, mixed mode)
ProblemType: Bug
DistroRelease: Ubuntu 17.10
Package: openjdk-9-jre 9~b181-4
ProcVersionSignature: Ubuntu 4.13.0-12.13-generic 4.13.3
Uname: Linux 4.13.0-12-generic x86_64
NonfreeKernelModules: zfs zunicode zavl zcommon znvpair
ApportVersion: 2.20.7-0ubuntu2
Architecture: amd64
CurrentDesktop: ubuntu:GNOME
Date: Mon Oct 9 18:30:46 2017
InstallationDate: Installed on 2017-09-24 (14 days ago)
InstallationMedia: Ubuntu 17.10 "Artful Aardvark" - Alpha amd64 (20170919)
SourcePackage: openjdk-9
UpgradeStatus: No upgrade log present (probably fresh install)
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/openjdk-9/+bug/1722410/+subscriptions
References