equal
deleted
inserted
replaced
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 } |
|