Skip to content

TOMEE-2744: JD14 compatibility: remove usage of javax.security.acl#613

Merged
jgallimore merged 1 commit into
apache:masterfrom
Travelcompositor:master
Nov 25, 2019
Merged

TOMEE-2744: JD14 compatibility: remove usage of javax.security.acl#613
jgallimore merged 1 commit into
apache:masterfrom
Travelcompositor:master

Conversation

@cocorossello
Copy link
Copy Markdown
Contributor

Some tests in openejb-core fail, but it doen't seem related at all

@asf-ci
Copy link
Copy Markdown

asf-ci commented Nov 22, 2019

Can one of the admins verify this patch?

2 similar comments
@asf-ci
Copy link
Copy Markdown

asf-ci commented Nov 22, 2019

Can one of the admins verify this patch?

@asf-ci
Copy link
Copy Markdown

asf-ci commented Nov 22, 2019

Can one of the admins verify this patch?

Copy link
Copy Markdown

@rmonson rmonson left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The acl.Group has been deprecated since Java 9 and was removed in Java 14 but I have two questions. According to documentation it was replace by Policy not Principle. So is your code still correct? Also, are we even supporting Java 14? Getting a head of the depreciation is great, but does this change break compatibility with Java 8?

@cocorossello
Copy link
Copy Markdown
Contributor Author

Hi,

In the code acl.Group is used basically as a Principal with members support, is not used as a Policy, as far as I can see.

With this change our environment works in jdk11, 12, 13 and 14, I don't see any reason why it wouldn't work in jdk8 (but of course I don't know all the use cases here).

@jgallimore
Copy link
Copy Markdown
Contributor

I'll merge this in, and we'll let the CI build it. Hopefully all will look good, but we'll revisit it if we see tests failing.

@jgallimore jgallimore merged commit 40e62cf into apache:master Nov 25, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants