changeset 36932:920f25b0e30e

Merge
author amurillo
date Thu, 24 Mar 2016 15:53:22 -0700
parents a7dca903cb27 49fe5278354e
children 31dee8c26864 d08692e67782
files
diffstat 1 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/jdk/src/java.base/share/classes/java/lang/StringCoding.java	Thu Mar 24 13:09:48 2016 -0700
+++ b/jdk/src/java.base/share/classes/java/lang/StringCoding.java	Thu Mar 24 15:53:22 2016 -0700
@@ -1,5 +1,5 @@
 /*
- * Copyright (c) 2000, 2015, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 2000, 2016, Oracle and/or its affiliates. All rights reserved.
  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
  *
  * This code is free software; you can redistribute it and/or modify it
@@ -146,7 +146,7 @@
     }
 
     @HotSpotIntrinsicCandidate
-    private static boolean hasNegatives(byte[] ba, int off, int len) {
+    public static boolean hasNegatives(byte[] ba, int off, int len) {
         for (int i = off; i < off + len; i++) {
             if (ba[i] < 0) {
                 return true;