# Probably caused by --module-path missing @${test_sources} # warning: [options] system modules path not set in conjunction with -source 9 # src/test/java/module-info.java:24: error: package is empty or does not exist: jakarta.mail.event # exports jakarta.mail.event; # ^ # src/test/java/module-info.java:29: error: cannot find symbol # uses jakarta.mail.Provider; # ^ # symbol: class Provider # location: package jakarta.mail # src/test/java/module-info.java:30: error: cannot find symbol # uses jakarta.mail.util.StreamProvider; # ^ # symbol: class StreamProvider # location: package jakarta.mail.util # src/test/java/module-info.java:32: error: cannot find symbol # provides jakarta.mail.util.StreamProvider with jakarta.mail.util.DummyStreamProvider; # ^ # symbol: class StreamProvider # location: package jakarta.mail.util # 4 errors RESTRICT="test"
v2.1.1 has tests enabled.
src_test() { rm src/test/java/module-info.java || die # There was 1 failure: # 1) doesNotExist(jakarta.mail.util.FactoryFinderTest) # java.lang.NullPointerException # at jakarta.mail.util.FactoryFinderTest.doesNotExist(FactoryFinderTest.java:55) sed \ -e '/import org.junit.Test/a import org.junit.Ignore;' \ -e '/doesNotExist/i @Ignore' \ -i src/test/java/jakarta/mail/util/FactoryFinderTest.java || die
The bug has been referenced in the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5d1b0ef975e833cc2f8458f8a3ae662865375f0c commit 5d1b0ef975e833cc2f8458f8a3ae662865375f0c Author: Volkmar W. Pogatzki <gentoo@pogatzki.net> AuthorDate: 2024-04-06 07:16:34 +0000 Commit: Miroslav Šulc <fordfrog@gentoo.org> CommitDate: 2024-04-07 08:19:32 +0000 dev-java/jakarta-mail-api: add 2.1.3 Bug: https://bugs.gentoo.org/853151 Signed-off-by: Volkmar W. Pogatzki <gentoo@pogatzki.net> Closes: https://github.com/gentoo/gentoo/pull/36132 Signed-off-by: Miroslav Šulc <fordfrog@gentoo.org> dev-java/jakarta-mail-api/Manifest | 1 + .../jakarta-mail-api/jakarta-mail-api-2.1.3.ebuild | 64 ++++++++++++++++++++++ 2 files changed, 65 insertions(+)
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=706733118174c5e6315e1bf3469d5e0dfd54a9b1 commit 706733118174c5e6315e1bf3469d5e0dfd54a9b1 Author: Volkmar W. Pogatzki <gentoo@pogatzki.net> AuthorDate: 2024-05-07 10:40:57 +0000 Commit: Miroslav Šulc <fordfrog@gentoo.org> CommitDate: 2024-05-08 09:03:21 +0000 dev-java/jakarta-mail-api: drop 2.1.1 Closes: https://bugs.gentoo.org/853151 Signed-off-by: Volkmar W. Pogatzki <gentoo@pogatzki.net> Closes: https://github.com/gentoo/gentoo/pull/36593 Signed-off-by: Miroslav Šulc <fordfrog@gentoo.org> dev-java/jakarta-mail-api/Manifest | 1 - .../jakarta-mail-api/jakarta-mail-api-2.1.1.ebuild | 68 ---------------------- 2 files changed, 69 deletions(-)