Skip to content

Commit

Permalink
Merge pull request #2923 from LinHu2016/issue2909
Browse files Browse the repository at this point in the history
Add method waitForReferenceProcessing() in Reference.java
  • Loading branch information
pshipton authored Sep 18, 2018
2 parents 0e19718 + f1a874a commit b6ae72b
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions jcl/src/java.base/share/classes/java/lang/ref/Reference.java
Original file line number Diff line number Diff line change
Expand Up @@ -88,6 +88,12 @@ static class ClearBeforeEnqueue {
}
});
}

/* The method waitForReferenceProcessing() is not used directly, just adapt for openjdk regression tests for TLS 1.3 */
private static boolean waitForReferenceProcessing() throws InterruptedException {
return waitForReferenceProcessingImpl();
}

/*[ELSE]
static {
SharedSecrets.setJavaLangRefAccess(new JavaLangRefAccess() {
Expand Down

0 comments on commit b6ae72b

Please sign in to comment.