hotspot/src/share/vm/classfile/modules.cpp
changeset 43471 bfb383279a16
parent 43466 add500644443
child 44326 6c59cca7ff07
child 46289 1904e7ec236e
equal deleted inserted replaced
43470:39d4bc6c9989 43471:bfb383279a16
     1 /*
     1 /*
     2 * Copyright (c) 2017, Oracle and/or its affiliates. All rights reserved.
     2 * Copyright (c) 2016, 2017, Oracle and/or its affiliates. All rights reserved.
     3 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
     3 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
     4 *
     4 *
     5 * This code is free software; you can redistribute it and/or modify it
     5 * This code is free software; you can redistribute it and/or modify it
     6 * under the terms of the GNU General Public License version 2 only, as
     6 * under the terms of the GNU General Public License version 2 only, as
     7 * published by the Free Software Foundation.
     7 * published by the Free Software Foundation.
   821     log_debug(modules)("add_module_exports_to_all_unnamed(): package %s in module"
   821     log_debug(modules)("add_module_exports_to_all_unnamed(): package %s in module"
   822                        " %s is exported to all unnamed modules",
   822                        " %s is exported to all unnamed modules",
   823                        package_entry->name()->as_C_string(),
   823                        package_entry->name()->as_C_string(),
   824                        module_entry->name()->as_C_string());
   824                        module_entry->name()->as_C_string());
   825 
   825 
   826     // Mark package as exported to all unnamed modules, unless already
   826     // Mark package as exported to all unnamed modules.
   827     // unqualifiedly exported.
   827     package_entry->set_is_exported_allUnnamed();
   828     if (!package_entry->is_unqual_exported()) {
   828   }
   829       package_entry->set_is_exported_allUnnamed();
   829 }
   830     }
       
   831   }
       
   832 }