<html>
  <head>
    <meta content="text/html; charset=UTF-8" http-equiv="Content-Type">
  </head>
  <body bgcolor="#FFFFFF" text="#000000">
    <tt>Hi Christian</tt><br>
    <br>
    The assumption that the Application Class Loader is an instance of
    URLClassLoader can be false, because, AFAIK, it is not documented
    anywhere.<br>
    This may become false in the future releases of JDK.<br>
    That is why it is better not to relay on this assumption.<br>
    <br>
    Thanks<br>
    -Konstantin<br>
    <br>
    <div class="moz-cite-prefix">06.10.2015 22:35, Christian Thalinger
      пишет:<br>
    </div>
    <blockquote
      cite="mid:C7633A5C-8D11-4301-9EE9-B5E07DB01C69@oracle.com"
      type="cite">
      <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
      <br class="">
      <div>
        <blockquote type="cite" class="">
          <div class="">On Sep 9, 2015, at 3:16 AM, Konstantin Shefov
            <<a moz-do-not-send="true"
              href="mailto:konstantin.shefov@oracle.com" class="">konstantin.shefov@oracle.com</a>>
            wrote:</div>
          <br class="Apple-interchange-newline">
          <div class="">
            <meta content="text/html; charset=UTF-8"
              http-equiv="Content-Type" class="">
            <div text="#000000" bgcolor="#FFFFFF" class=""> Description
              of the fix.<br class="">
              <meta http-equiv="content-type" content="text/html;
                charset=UTF-8" class="">
              Some tests in hotspot repo use class cast from Application
              class loader to URLClassLoader, but Application class
              loader is not guaranteed to be always an instance of a
              URLClassLoader.<br class="">
            </div>
          </div>
        </blockquote>
        <div><br class="">
        </div>
        Please excuse my lack of knowledge here but in what
        configuration does this happen?</div>
      <div><br class="">
        <blockquote type="cite" class="">
          <div class="">
            <div text="#000000" bgcolor="#FFFFFF" class=""> The tests
              should be changed so that they do not cast appclassloader
              to URLClassLoader.<br class="">
              <br class="">
              -Konstantin<br class="">
              <br class="">
              <div class="moz-cite-prefix">On 09/08/2015 07:01 PM,
                Konstantin Shefov wrote:<br class="">
              </div>
              <blockquote cite="mid:55EF0649.8050109@oracle.com"
                type="cite" class="">Hello <br class="">
                <br class="">
                Please review a test bug fix. <br class="">
                <br class="">
                JBS entry: <a moz-do-not-send="true"
                  class="moz-txt-link-freetext"
                  href="https://bugs.openjdk.java.net/browse/JDK-8072369">https://bugs.openjdk.java.net/browse/JDK-8072369</a>
                <br class="">
                Webrev: <a moz-do-not-send="true"
                  class="moz-txt-link-freetext"
                  href="http://cr.openjdk.java.net/%7Ekshefov/8072369/webrev.00">http://cr.openjdk.java.net/~kshefov/8072369/webrev.00</a>
                <br class="">
                <br class="">
                Thanks <br class="">
                -Konstantin <br class="">
              </blockquote>
              <br class="">
            </div>
          </div>
        </blockquote>
      </div>
      <br class="">
    </blockquote>
    <br>
  </body>
</html>