Merge
authorzmajo
Wed, 23 Mar 2016 15:01:43 +0100
changeset 36931 49fe5278354e
parent 36659 4c3494cead61 (current diff)
parent 36930 74e9f4b90006 (diff)
child 36932 920f25b0e30e
child 36935 9a10a2c4dc13
Merge
--- a/jdk/src/java.base/share/classes/java/lang/StringCoding.java	Tue Mar 22 15:37:55 2016 -0700
+++ b/jdk/src/java.base/share/classes/java/lang/StringCoding.java	Wed Mar 23 15:01:43 2016 +0100
@@ -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;