# HG changeset patch # User zmajo # Date 1458555668 -3600 # Node ID 74e9f4b900060089e4fcd9aa49667f92cb9659db # Parent 0dc62e7c6a2976bff06ec074f08ef17bd941d0cd# Parent 2eb91276c00e3468884b7e7eb432cbb00cffec2b Merge diff -r 2eb91276c00e -r 74e9f4b90006 jdk/src/java.base/share/classes/java/lang/StringCoding.java --- a/jdk/src/java.base/share/classes/java/lang/StringCoding.java Thu Mar 17 11:25:16 2016 -0700 +++ b/jdk/src/java.base/share/classes/java/lang/StringCoding.java Mon Mar 21 11:21:08 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;