< prev index next >
src/hotspot/share/classfile/modules.hpp
Print this page
*** 1,7 ****
/*
! * Copyright (c) 2016, 2019, 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) 2016, 2020, 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.
*** 30,39 ****
--- 30,40 ----
class ModuleEntryTable;
class Symbol;
class Modules : AllStatic {
+ static void check_cds_restrictions(TRAPS) NOT_CDS_JAVA_HEAP_RETURN;
public:
// define_module defines a module containing the specified packages. It binds the
// module to its class loader by creating the ModuleEntry record in the
// ClassLoader's ModuleEntry table, and creates PackageEntry records in the class
*** 50,59 ****
--- 51,63 ----
// * Module is an unnamed module
// NullPointerExceptions are thrown if module is null.
static void define_module(jobject module, jboolean is_open, jstring version,
jstring location, jobjectArray packages, TRAPS);
+ static void define_archived_modules(jobject platform_loader, jobject system_loader,
+ TRAPS) NOT_CDS_JAVA_HEAP_RETURN;
+
// Provides the java.lang.Module for the unnamed module defined
// to the boot loader.
//
// IllegalArgumentExceptions are thrown for the following :
// * Module has a name
< prev index next >