[
https://issues.apache.org/jira/browse/HADOOP-11293?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14207307#comment-14207307
]
Chris Nauroth commented on HADOOP-11293:
----------------------------------------
bq. Is there anything we can do to keep this from happening again in the future?
Unfortunately, I think the only thing we can do is put out a reminder to
downstream projects that if they find themselves calling something with a
non-public {{InterfaceAudience}}, then it would be preferable if they filed a
feature request to us for providing a real public, stable API. Otherwise, I
don't see any options for truly strict enforcement.
Project Jigsaw potentially gives us some enhancements on top of the stock Java
visibility modifiers. This would be kind of like {{LimitedPrivate}}, but with
real enforcement provided by the JDK that only the listed callers may call it.
This won't be available to use for a long time though.
http://openjdk.java.net/projects/jigsaw/
> Factor OSType out from Shell
> ----------------------------
>
> Key: HADOOP-11293
> URL: https://issues.apache.org/jira/browse/HADOOP-11293
> Project: Hadoop Common
> Issue Type: Improvement
> Components: util
> Reporter: Yongjun Zhang
> Assignee: Yongjun Zhang
> Attachments: HADOOP-11293.001.patch
>
>
> Currently the code that detects the OS type is located in Shell.java. Code
> that need to check OS type refers to Shell, even if no other stuff of Shell
> is needed.
> I am proposing to refactor OSType out to its own class, so to make the
> OSType easier to access and the dependency cleaner.
>
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)