Wind River Support Network

HomeDefectsLIN8-13207
Not to be fixed

LIN8-13207 : meta-java does not seem to include latest jdk version as published in the release notes

Created: Dec 24, 2020    Updated: Dec 28, 2020
Resolved Date: Dec 28, 2020
Found In Version: 8.0.0.34
Severity: Severe
Applicable for: Wind River Linux 8
Component/s: Userspace

Description

The fix implemented in LIN8-12463 is not accessible in the product by default as it needs extra settings because of a bad indexing in the repository of meta-java.

By default, we don't see the 252 version of JDK. And when we build the image and run java on it, it doesn't say what version was really included as it doesn't show the minor number of the version:

_root@qemu0:~# java -version_

_openjdk version "1.8.0-internal" <<< The _252 is missing_

Also, the rpm built is openjdk-8-72b05-r0.0.ppc7400.rpm instead of the 252 version.

 

*Workaround is* 

*For an already created project:*

$ cd <project>/layers/meta-java

$ git rebase origin/wr-8.0-20151119

*For the installation:*

$ cd <installation>/wrlinux-8/addons/wr-common/git/meta-java

$ echo 97b151aaccc7f17fc255f112b7a7ac8835f356bc > refs/heads/LB13_8.0_RCPL0034

 

Workaround

*For an already created project:*

$ cd <project>/layers/meta-java

$ git rebase origin/wr-8.0-20151119

*For the installation:*

$ cd <installation>/wrlinux-8/addons/wr-common/git/meta-java

$ echo 97b151aaccc7f17fc255f112b7a7ac8835f356bc > refs/heads/LB13_8.0_RCPL0034

Steps to Reproduce

1) $ <...>/configure --enable-board=qemuppc --enable-kernel=standard --enable-rootfs=glibc-small --enable-reconfig --with-layer=meta-java,common,common-downloads --with-template=feature/jdk8 --with-rcpl-version=0034 && make openjdk-8

2) $ file bitbake_build/tmp/deploy/rpm/ppc7400/openjdk-8-72b05-r0.0.ppc7400.rpm
Live chat
Online