src/java.base/share/classes/jdk/internal/loader/URLClassPath.java
changeset 52171 0da586f1ed05
parent 52164 27135de165ac
child 52172 f54dcfc5a5f8
equal deleted inserted replaced
52170:2990f1e1c325 52171:0da586f1ed05
   864                 public URL getCodeSourceURL() { return csu; }
   864                 public URL getCodeSourceURL() { return csu; }
   865                 public InputStream getInputStream() throws IOException
   865                 public InputStream getInputStream() throws IOException
   866                     { return jar.getInputStream(entry); }
   866                     { return jar.getInputStream(entry); }
   867                 public int getContentLength()
   867                 public int getContentLength()
   868                     { return (int)entry.getSize(); }
   868                     { return (int)entry.getSize(); }
   869                 public Manifest getManifest() throws IOException
   869                 public Manifest getManifest() throws IOException {
   870                     { return jar.getManifest(); };
   870                     SharedSecrets.javaUtilJarAccess().ensureInitialization(jar);
       
   871                     return jar.getManifest();
       
   872                 }
   871                 public Certificate[] getCertificates()
   873                 public Certificate[] getCertificates()
   872                     { return entry.getCertificates(); };
   874                     { return entry.getCertificates(); };
   873                 public CodeSigner[] getCodeSigners()
   875                 public CodeSigner[] getCodeSigners()
   874                     { return entry.getCodeSigners(); };
   876                     { return entry.getCodeSigners(); };
   875             };
   877             };