Skip to content

Conversation

@vogella
Copy link
Contributor

@vogella vogella commented Oct 22, 2021

The security manager was checking for certain packages which seem
partially outdated and prevent them from triggering a shutdown. AFAICS
WB also works fine without this check and IMHO if someone wants to
trigger a shutdown this should be ok, independently of the package.

Also IIRC using custom security managers are planned to become more
difficult in future Java versions, I think I have seen a discussion
about this in Equinox.

Fixes #72

Using the JDT clean-up actions I removed any trailing ws. This should
make contributions easier as we do not have to see / review unrelated ws
changes. Git history can be configured to ignore these.

Cleanup is used multiple times and therefore I think it is saved. No
manual review required IMHO.

Fixes #74
This is just a re-format of the file so that the changes done via #73
are easier to see / read.
The security manager was checking for certain packages which seem
partially outdated and prevent them from triggering a shutdown. AFAICS
WB also works fine without this check and IMHO if someone wants to
trigger a shutdown this should be ok, independently of the package.

Also IIRC using custom security managers are planned to become more
difficult in future Java versions, I think I have seen a discussion
about this in Equinox.

Fixes #72
@vogella
Copy link
Contributor Author

vogella commented Oct 22, 2021

Looks like the save actions did modify the code. I dislike mixing format changes and real change. Let me open an issue for whitespace cleanup and potential apply the current format to some files.

@vogella vogella force-pushed the security-manager-removed branch from acb4be8 to 476a561 Compare October 22, 2021 11:55
vogella added a commit that referenced this pull request Oct 22, 2021
This is just a re-format of the file so that the changes done via #73
are easier to see / read.
@vogella vogella merged commit 7eb2c80 into master Oct 22, 2021
@vogella vogella deleted the security-manager-removed branch October 22, 2021 12:19
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.

Security manager prevents us from including it in our product

3 participants