java-openjdk-ea-bin
maintainer stefan-zobel
· 8 votes
· scanned 2026-08-03 00:08:14.047287
LOW
View on AUR ↗
Why flagged
The package downloads a prebuilt OpenJDK early-access binary from Oracle's official download.java.net domain, which is a legitimate source for Java releases; despite the non-whitelisted host, this is a standard and expected source for the software, and the checksums are provided and match the architecture-specific builds.
Triggered rules
LOW
AI review downgraded a static finding
llm_review
The static rules flagged this MEDIUM, but an AI model (qwen/qwen3-235b-a22b-2507) reviewed the full PKGBUILD and judged it LOW (confidence 95%): The package downloads a prebuilt OpenJDK early-access binary from Oracle's official download.java.net domain, which is a legitimate source for Java releases; despite the non-whitelisted host, this is a standard and expected source for the software, and the checksums are provided and match the architecture-specific builds.
1 higher static finding superseded - not the current verdict (shown for transparency)
MEDIUM
source=() URL on a non-standard host
source_untrusted_domain
One or more source=() URLs point to a host outside the trusted allowlist (github.com, gitlab.com, codeberg.org, pypi.org, …).
-
PKGBUILD:36
source=("https://download.java.net/java/early_access/jdk${_majorver}/${_buildver}/GPL/openjdk-${_majorver}-ea+${_buildver}_linux-${_JARCH}_bin.tar.gz")
PKGBUILD
1 offending line(s) highlighted
1
# Maintainer: Stefan Zobel <stefan dot zobel at gmail dot com>
2
# Contributor: Jamie Magee <jamie dot magee at gmail dot com>
3
# Contributor: Mohammadreza Abdollahzadeh <morealaz at gmail dot com>
4
pkgname=java-openjdk-ea-bin
5
6
_majorver=27
7
_buildver=32
8
pkgver=${_majorver}b${_buildver}
9
pkgrel=1
10
11
12
_JARCH='x64'
13
case "${CARCH}" in
14
x86_64) _JARCH='x64';;
15
aarch64) _JARCH='aarch64';;
16
esac
17
18
19
pkgdesc="Java OpenJDK ${_majorver} Early-Access Build"
20
arch=('x86_64' 'aarch64')
21
url="https://jdk.java.net/${_majorver}"
22
license=('GPL2')
23
depends=(
24
'java-environment-common>=3' 'java-runtime-common>=3'
25
'ca-certificates-utils' 'nss' 'libxrender' 'libxtst'
26
'alsa-lib' 'freetype2'
27
)
28
provides=(
29
"java-environment=${_majorver}"
30
"java-environment-openjdk=${_majorver}"
31
"java-runtime=${_majorver}"
32
"java-runtime-openjdk=${_majorver}"
33
"java-runtime-headless=${_majorver}"
34
"java-runtime-headless-openjdk=${_majorver}"
35
)
36
source=("https://download.java.net/java/early_access/jdk${_majorver}/${_buildver}/GPL/openjdk-${_majorver}-ea+${_buildver}_linux-${_JARCH}_bin.tar.gz")
37
38
39
if [[ $_JARCH == "x64" ]]; then
40
sha256sums=('389b367bdadc9816095af0175323307033db9635b2e6d07a989096a0a6059d51')
41
else
42
sha256sums=('be37bd40614fe46b27d05cf87c153d55114b492f15e993250a26e6ddf2a98a5a')
43
fi
44
45
46
_eaname=java-${_majorver}-openjdk
47
_jvmdir=/usr/lib/jvm/${_eaname}
48
49
package() {
50
# Install
51
install -d "${pkgdir}${_jvmdir}"
52
cd jdk-${_majorver}
53
cp -a bin include jmods lib release "${pkgdir}${_jvmdir}/"
54
55
# Link JKS keystore from ca-certificates-utils
56
rm -f "${pkgdir}${_jvmdir}/lib/security/cacerts"
57
ln -sf /etc/ssl/certs/java/cacerts "${pkgdir}${_jvmdir}/lib/security/cacerts"
58
59
# Legal
60
install -d "${pkgdir}/usr/share/licenses/${_eaname}"
61
cp -a legal "${pkgdir}/usr/share/licenses/${_eaname}/"
62
ln -s /usr/share/licenses/${_eaname} "${pkgdir}${_jvmdir}/legal"
63
64
# Conf
65
install -d "${pkgdir}/etc"
66
cp -r conf "${pkgdir}/etc/${_eaname}"
67
ln -s /etc/${_eaname} "${pkgdir}${_jvmdir}/conf"
68
}
69
# vim:set ts=2 sw=2 et:
70
Changes since previous scan
--- PKGBUILD @ 2026-07-13 00:19+++ PKGBUILD @ 2026-08-03 00:08@@ -4,7 +4,7 @@ pkgname=java-openjdk-ea-bin _majorver=27-_buildver=30+_buildver=32 pkgver=${_majorver}b${_buildver} pkgrel=1 @@ -37,9 +37,9 @@ if [[ $_JARCH == "x64" ]]; then-sha256sums=('675ab158767ace31f82c60352ed3e8da485a1c9dbfc99f00a1a593814a6e45b2')+sha256sums=('389b367bdadc9816095af0175323307033db9635b2e6d07a989096a0a6059d51') else-sha256sums=('f527dd176a4be06e34103079b70eda06f1019ccafa2011011cd9232441b81810')+sha256sums=('be37bd40614fe46b27d05cf87c153d55114b492f15e993250a26e6ddf2a98a5a') fi Scan history
| Scanned at (UTC) | Severity | Rules |
|---|---|---|
| 2026-08-03 00:08:14 | LOW | 2 |
| 2026-08-02 00:16:08 | LOW | 2 |
| 2026-08-01 00:11:18 | LOW | 2 |
| 2026-07-31 00:14:10 | LOW | 2 |
| 2026-07-30 00:17:23 | LOW | 2 |
| 2026-07-29 00:25:53 | LOW | 2 |
| 2026-07-28 11:38:42 | MEDIUM | 1 |
| 2026-07-13 00:19:36 | CLEAN | 2 |
| 2026-07-12 11:39:52 | MEDIUM | 1 |
| 2026-07-03 15:12:12 | CLEAN | 2 |
| 2026-06-28 00:30:45 | CLEAN | 2 |
| 2026-06-28 00:09:41 | LOW | 2 |
| 2026-06-27 00:00:51 | LOW | 2 |
| 2026-06-26 00:27:06 | LOW | 2 |
| 2026-06-25 00:08:41 | LOW | 2 |
| 2026-06-24 00:08:06 | LOW | 2 |
| 2026-06-23 00:13:55 | LOW | 2 |
| 2026-06-22 00:29:40 | LOW | 2 |
| 2026-06-21 00:26:06 | LOW | 2 |
| 2026-06-21 00:08:37 | LOW | 2 |