Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 923612 - dev-java/velocity-2.3 fails tests with jdk:21 - java.lang.UnsupportedOperationException: The Security Manager is deprecated and will be removed in a future release
Summary: dev-java/velocity-2.3 fails tests with jdk:21 - java.lang.UnsupportedOperatio...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Java team
URL:
Whiteboard:
Keywords: PullRequest, TESTFAILURE
Depends on:
Blocks: jdk21_test 918647
  Show dependency tree
 
Reported: 2024-02-02 08:27 UTC by Agostino Sarubbo
Modified: 2024-03-31 08:35 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
build.log (build.log,361.55 KB, text/plain)
2024-02-02 08:27 UTC, Agostino Sarubbo
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Agostino Sarubbo gentoo-dev 2024-02-02 08:27:11 UTC
https://blogs.gentoo.org/ago/2020/07/04/gentoo-tinderbox/

Issue: dev-java/velocity-2.3 fails tests.
Discovered on: arm64 (internal ref: tinderbox_arm64)

Info about the issue:
https://wiki.gentoo.org/wiki/Project:Tinderbox/Common_Issues_Helper#CF0015
Comment 1 Agostino Sarubbo gentoo-dev 2024-02-02 08:27:14 UTC
Created attachment 884022 [details]
build.log

build log and emerge --info
Comment 2 Agostino Sarubbo gentoo-dev 2024-02-02 08:27:15 UTC
Error(s) that match a know pattern:


FAILURES!!!
File "CharStream.java" does not exist.  Will create one.
File "JJTStandardParserState.java" does not exist.  Will create one.
File "ParseException.java" does not exist.  Will create one.
File "StandardParserTreeConstants.java" does not exist.  Will create one.
File "StandardParserVisitor.java" does not exist.  Will create one.
File "Token.java" does not exist.  Will create one.
File "TokenMgrError.java" does not exist.  Will create one.
[main] ERROR org.apache.velocity.directive.include - #include(): cannot find resource 'doesntexist.vm', called at missinginclude.vm[line 6, column 1]
[main] ERROR org.apache.velocity.directive.parse - #parse(): cannot find template 'doesntexist.vm', called at missingparse.vm[line 6, column 1]
[main] ERROR org.apache.velocity.directive.parse - #parse(): syntax error in #parse()-ed template 'haserror.txt', called at parsemain.vm[line 6, column 1]
[main] ERROR org.apache.velocity.directive.parse - #parse(): syntax error in #parse()-ed template 'haserror2.txt', called at parsemain2.vm[line 6, column 1]
Comment 3 Larry the Git Cow gentoo-dev 2024-03-31 08:35:55 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=19044499c1713343ba4da6e881304cc2e9b2d53a

commit 19044499c1713343ba4da6e881304cc2e9b2d53a
Author:     Volkmar W. Pogatzki <gentoo@pogatzki.net>
AuthorDate: 2024-03-30 13:31:35 +0000
Commit:     Miroslav Šulc <fordfrog@gentoo.org>
CommitDate: 2024-03-31 08:34:09 +0000

    dev-java/velocity: drop SecurityManager
    
    Closes: https://bugs.gentoo.org/923612
    Signed-off-by: Volkmar W. Pogatzki <gentoo@pogatzki.net>
    Signed-off-by: Miroslav Šulc <fordfrog@gentoo.org>

 .../velocity/files/velocity-2.3-skipSecurityManager.patch     | 11 +++++++++++
 dev-java/velocity/velocity-2.3.ebuild                         |  6 ++++--
 2 files changed, 15 insertions(+), 2 deletions(-)