Skip to content
Sign up
Product
Features
Mobile
Actions
Codespaces
Copilot
Packages
Security
Code review
Issues
Integrations
GitHub Sponsors
Customer stories
Team
Enterprise
Explore
Explore GitHub
Learn and contribute
Topics
Collections
Trending
Skills
GitHub Sponsors
Open source guides
Connect with others
The ReadME Project
Events
Community forum
GitHub Education
GitHub Stars program
Marketplace
Pricing
Plans
Compare plans
Contact Sales
Education
In this repository
All GitHub
↵
Jump to
↵
No suggested jump to results
In this repository
All GitHub
↵
Jump to
↵
In this organization
All GitHub
↵
Jump to
↵
In this repository
All GitHub
↵
Jump to
↵
Sign in
Sign up
{{ message }}
openjdk
/
mobile
Public
Notifications
Fork
36
Star
114
Code
Pull requests
3
Security
Insights
More
Code
Pull requests
Security
Insights
Permalink
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
Automatic merge of jdk:master into master
Loading branch information
duke
committed
Jan 11, 2021
2 parents
605f3a6
+
3974fd4
commit
27dad3b1046b90f24ffc8d752c95c0e6c465614f
Showing
1 changed file
with
3 additions
and
0 deletions
.
Split
Unified
There are no files selected for viewing
3
test/lib/jdk/test/lib/Platform.java
Show comments
View file
Edit file
Delete file
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Show hidden characters
@@ -226,6 +226,9 @@ public static boolean isRoot() {
* on this platform.
*/
public
static
boolean
hasSA
() {
if
(
isZero
()) {
return
false
;
// SA is not enabled.
}
if
(
isAix
()) {
return
false
;
// SA not implemented.
}
else
if
(
isLinux
()) {
Toggle all file notes
Toggle all file annotations
0 comments on commit
27dad3b
Please
sign in
to comment.
You can’t perform that action at this time.
You signed in with another tab or window.
Reload
to refresh your session.
You signed out in another tab or window.
Reload
to refresh your session.