< prev index next >

src/hotspot/share/classfile/classLoaderExt.hpp

Print this page
*** 1,7 ***
  /*
!  * Copyright (c) 2014, 2021, 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
   * under the terms of the GNU General Public License version 2 only, as
   * published by the Free Software Foundation.
--- 1,7 ---
  /*
!  * Copyright (c) 2014, 2023, 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
   * under the terms of the GNU General Public License version 2 only, as
   * published by the Free Software Foundation.

*** 57,11 ***
    static bool _has_app_classes;
    static bool _has_platform_classes;
    static bool _has_non_jar_in_classpath;
  
    static char* read_manifest(JavaThread* current, ClassPathEntry* entry, jint *manifest_size, bool clean_text);
! 
  public:
    static void process_jar_manifest(JavaThread* current, ClassPathEntry* entry);
  
    // Called by JVMTI code to add boot classpath
    static void append_boot_classpath(ClassPathEntry* new_entry);
--- 57,12 ---
    static bool _has_app_classes;
    static bool _has_platform_classes;
    static bool _has_non_jar_in_classpath;
  
    static char* read_manifest(JavaThread* current, ClassPathEntry* entry, jint *manifest_size, bool clean_text);
!   static ClassPathEntry* get_class_path_entry(s2 classpath_index);
+   static void check_invalid_classpath_index(s2 classpath_index, InstanceKlass* ik);
  public:
    static void process_jar_manifest(JavaThread* current, ClassPathEntry* entry);
  
    // Called by JVMTI code to add boot classpath
    static void append_boot_classpath(ClassPathEntry* new_entry);
< prev index next >