src/hotspot/share/classfile/sharedClassUtil.hpp
Index
Unified diffs
Context diffs
Sdiffs
Wdiffs
Patch
New
Old
Previous File
Next File
open Cdiff src/hotspot/share/classfile/sharedClassUtil.hpp
src/hotspot/share/classfile/sharedClassUtil.hpp
Print this page
rev 49650 : [mq]: module_path
*** 1,7 ****
/*
! * Copyright (c) 2014, 2017, 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, 2018, 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.
*** 32,42 ****
#include "classfile/systemDictionaryShared.hpp"
#include "oops/klass.hpp"
class FileMapHeaderExt: public FileMapInfo::FileMapHeader {
public:
! jshort _app_paths_start_index; // Index of first app classpath entry
bool _verify_local; // BytecodeVerificationLocal setting
bool _verify_remote; // BytecodeVerificationRemote setting
bool _has_platform_or_app_classes; // Archive contains app classes
FileMapHeaderExt() {
--- 32,43 ----
#include "classfile/systemDictionaryShared.hpp"
#include "oops/klass.hpp"
class FileMapHeaderExt: public FileMapInfo::FileMapHeader {
public:
! jshort _app_class_paths_start_index; // Index of first app classpath entry
! jshort _app_module_paths_start_index; // Index of first module path entry
bool _verify_local; // BytecodeVerificationLocal setting
bool _verify_remote; // BytecodeVerificationRemote setting
bool _has_platform_or_app_classes; // Archive contains app classes
FileMapHeaderExt() {
*** 54,69 ****
class SharedPathsMiscInfoExt : public SharedPathsMiscInfo {
private:
int _app_offset;
public:
enum {
! APP = 5
};
virtual const char* type_name(int type) {
switch (type) {
case APP: return "APP";
default: return SharedPathsMiscInfo::type_name(type);
}
}
virtual void print_path(outputStream* out, int type, const char* path);
--- 55,72 ----
class SharedPathsMiscInfoExt : public SharedPathsMiscInfo {
private:
int _app_offset;
public:
enum {
! APP = 5,
! MODULE = 6
};
virtual const char* type_name(int type) {
switch (type) {
case APP: return "APP";
+ case MODULE: return "MODULE";
default: return SharedPathsMiscInfo::type_name(type);
}
}
virtual void print_path(outputStream* out, int type, const char* path);
src/hotspot/share/classfile/sharedClassUtil.hpp
Index
Unified diffs
Context diffs
Sdiffs
Wdiffs
Patch
New
Old
Previous File
Next File