Your message dated Fri, 15 Jun 2018 22:36:53 +0000
with message-id <[email protected]>
and subject line Bug#895619: fixed in plexus-compiler 2.8.4-1
has caused the Debian Bug report #895619,
regarding plexus-compiler: use --release instead of -source/-target for jdk9+ 
when setting defaults
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)


-- 
895619: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=895619
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Source: plexus-compiler
Version: 2.8.2-5
Severity: normal

Dear Maintainer,

plexus-compiler currently will default -source and/or -target to 1.7
whenever the following occours:
1) whenever either has not being set
2) whenever either has been set to 1.6 or earlier

This patch modifies the detection logic in order to be able to set the
'--release' flag when (and only when):
- the '--release' is *not* set
- AND both -source and -target are being set to a default value
- AND the running jvm is jdk9 or newer

This prevents errors such as the infamous "Method
flip()Ljava/nio/ByteBuffer; does not exist in class java.nio.ByteBuffer"
that is caused by building with openjdk-9 with -source set without
setting the proper bootclasspath [1,2]. JEP-247 [3] has provided the
--release to prevent such issues and should be used instead of -source
whenever the javac being used is jdk9 or higher.


I have tested and I can confirm it works fine, but I would like some
review to make sure it is sane and get opinions on other (better?) ways
to do this - specially concerning the detection of the jvm being run.

Also, fork and an alternative javac compiler might be set, thus I would
like to discuss as to what behavior it should default it in that case.

Regards,
Tiago Daitx

References:
[1] https://bugs.launchpad.net/ubuntu/+source/gradle/+bug/1760359
[2] https://github.com/plasma-umass/doppio/issues/497
[3] http://openjdk.java.net/jeps/247


-- System Information:
Debian Release: buster/sid
  APT prefers bionic
  APT policy: (500, 'bionic'), (400, 'bionic-proposed')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 4.15.0-13-generic (SMP w/8 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8), LANGUAGE=en_US 
(charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

--- End Message ---
--- Begin Message ---
Source: plexus-compiler
Source-Version: 2.8.4-1

We believe that the bug you reported is fixed in the latest version of
plexus-compiler, which is due to be installed in the Debian FTP archive.

A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to [email protected],
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Emmanuel Bourg <[email protected]> (supplier of updated plexus-compiler package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing [email protected])


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512

Format: 1.8
Date: Sat, 16 Jun 2018 00:09:15 +0200
Source: plexus-compiler
Binary: libplexus-compiler-java libplexus-compiler-java-doc
Architecture: source
Version: 2.8.4-1
Distribution: unstable
Urgency: medium
Maintainer: Debian Java Maintainers 
<[email protected]>
Changed-By: Emmanuel Bourg <[email protected]>
Description:
 libplexus-compiler-java - Plexus compiler system
 libplexus-compiler-java-doc - Documentation for The API for the Plexus 
compiler system
Closes: 895619
Changes:
 plexus-compiler (2.8.4-1) unstable; urgency=medium
 .
   * Team upload.
   * New upstream release
   * Automatically set the value of the javac --release attribute to improve
     the backward compatibility of the code compiled with Java 9 or later
     (Closes: #895619)
   * Depend on libecj-java (>= 3.13.2) and removed the ecj compatibility patch
   * Standards-Version updated to 4.1.4
   * Use salsa.debian.org Vcs-* URLs
Checksums-Sha1:
 4fb68db31fb0b1ad75b2ebed89949554c8d7d704 2460 plexus-compiler_2.8.4-1.dsc
 ccf544340139aef8a54fa099af00b3aa60cd5f57 56024 
plexus-compiler_2.8.4.orig.tar.xz
 341b179d69b08ac5f7f1838f21c4b4a33601896c 7732 
plexus-compiler_2.8.4-1.debian.tar.xz
 d2c536da07cfe9a6eff35ef3283b48d67f096b9e 15262 
plexus-compiler_2.8.4-1_source.buildinfo
Checksums-Sha256:
 bfd01019b7f9155479d6a2d65ccaa70c45118e7e722c6eeb407421aa9a8f560e 2460 
plexus-compiler_2.8.4-1.dsc
 b8f9dc8cddebc7905bf05e54ef56463c7354f9d318f81bf0f53d49e3499fa66e 56024 
plexus-compiler_2.8.4.orig.tar.xz
 db7d9ec67f6ecd52b849104d1d61cfc5fdc80b07e166e80cdd5a847c5f293af8 7732 
plexus-compiler_2.8.4-1.debian.tar.xz
 46c626e08cba1f7e17cc6023dacb388837c9484850ebb4d7a60cd1023ef793ed 15262 
plexus-compiler_2.8.4-1_source.buildinfo
Files:
 f780a10aaf7bc070a9e64ed7235d1391 2460 java optional plexus-compiler_2.8.4-1.dsc
 c224ce33b0a2c1359169421c5f324f5d 56024 java optional 
plexus-compiler_2.8.4.orig.tar.xz
 3cf9608b310d8f85b776cbf11c77e33a 7732 java optional 
plexus-compiler_2.8.4-1.debian.tar.xz
 1be6aa7fd3874798e9861dfe82734936 15262 java optional 
plexus-compiler_2.8.4-1_source.buildinfo

-----BEGIN PGP SIGNATURE-----

iQJGBAEBCgAwFiEEuM5N4hCA3PkD4WxA9RPEGeS50KwFAlskOjsSHGVib3VyZ0Bh
cGFjaGUub3JnAAoJEPUTxBnkudCsPZUP+wR+gCWMhap6AlqFzMXcqjrmkJ5P2vwc
apwIv7BLxnbZHKvxAkE90rRlGyYi43QBQZlFhZxw9oqpzbrcpq+S9fDNMZ3iG15T
ZhthUTfR5tBwbkDuH05I0Kp8bUUX43dpsQd4zY56ikXwR0uy6SGGv55qgM9cHsVq
4cEdUNKvb8miUHj/Edoaq+f7Ur0Rznur9AAbNKQVPatRWe6NwdolRYaqaKlhsoNi
oVPxllwTIMWE0mwuFQqzmDh5n+4qil9OvlT7FOFyRgzAvKE2uVh3mSvNDahfjMMd
RpGg6bbCMAlmLKB7WKfo32VWW5Dusp1GvkrqQ6Ox/q9dDPAf0e047vYSgnb7Uh8Z
vvaeVLYVH2u1mqjTtMmYagCcBEEHYFVbY28sEPfZnCZ/D4JrnLtXBrUzuk1Lwb5f
NN/YW2kzri9XRIp2y5lbE/Rz7Xpi87exrzGxETPWnNDFuM/Y25UqMmME3gpLn6b5
jPFBt1JRTvPpSsXZ1NxaPQqHGbXU8m+sXFP3TxG7e/UAH9npa/tb8lLkTMGJY3Ub
ynvEhqO0gCYGJTPLwylvF221x+9J9c/Dy2Aty43B3ojmwN5St4gaY84uug9UsPnk
C54fcBl+bJtfltqZ/h2BcleQFJ4l4lMXmJaoUIE0TIbfcDooJDSdIBqiBVdj1maQ
ZwBE0EcX8djN
=eqh6
-----END PGP SIGNATURE-----

--- End Message ---
__
This is the maintainer address of Debian's Java team
<https://alioth-lists.debian.net/cgi-bin/mailman/listinfo/pkg-java-maintainers>.
 Please use
[email protected] for discussions and questions.

Reply via email to