diff --git a/make/Docs.gmk b/make/Docs.gmk index 93e20d94461..3668a602aa4 100644 --- a/make/Docs.gmk +++ b/make/Docs.gmk @@ -32,6 +32,7 @@ include ModuleTools.gmk include ProcessMarkdown.gmk include ToolsJdk.gmk include ZipArchive.gmk +include TextFileProcessing.gmk # This is needed to properly setup DOCS_MODULES. $(eval $(call ReadImportMetaData)) @@ -64,7 +65,7 @@ MODULES_SOURCE_PATH := $(call PathList, $(call GetModuleSrcPath) \ # URLs JAVADOC_BASE_URL := https://docs.oracle.com/pls/topic/lookup?ctx=javase$(VERSION_NUMBER)&id=homepage BUG_SUBMIT_URL := https://bugreport.java.com/bugreport/ -COPYRIGHT_URL := {@docroot}/../legal/copyright.html +COPYRIGHT_URL := legal/copyright.html LICENSE_URL := https://www.oracle.com/technetwork/java/javase/terms/license/java$(VERSION_NUMBER)speclicense.html REDISTRIBUTION_URL := https://www.oracle.com/technetwork/java/redist-137594.html @@ -148,6 +149,15 @@ else HEADER_STYLE := style="margin-top: 14px;" endif +# $1 - Relative prefix to COPYRIGHT_URL +COPYRIGHT_BOTTOM = \ + Copyright \ + © 1993, $(COPYRIGHT_YEAR), $(FULL_COMPANY_NAME), \ + $(COMPANY_ADDRESS).
All rights reserved. \ + Use is subject to license terms and the \ + documentation redistribution policy. \ + $(DRAFT_MARKER_STR) + JAVADOC_BOTTOM := \ Report a bug or suggest an enhancement
\ For further API reference and developer documentation see the \ @@ -157,12 +167,7 @@ JAVADOC_BOTTOM := \ of terms, workarounds, and working code examples.
\ Java is a trademark or registered trademark of $(FULL_COMPANY_NAME) in \ the US and other countries.
\ - Copyright \ - © 1993, $(COPYRIGHT_YEAR), $(FULL_COMPANY_NAME), \ - $(COMPANY_ADDRESS).
All rights reserved. \ - Use is subject to license terms and the \ - documentation redistribution policy. \ - $(DRAFT_MARKER_STR) + $(call COPYRIGHT_BOTTOM, {@docroot}/../) JAVADOC_TOP := \
' with '/' # and ';' with '/g" -e "s/', and adjusting for edge cases. + # '&' has special meaning in sed so needs to be escaped. $1_REPLACEMENTS_COMMAND_LINE := $(SED) -e 's$$($1_SEP)$$(subst $$(SPACE);$$(SPACE),$$($1_SEP)g' \ -e 's$$($1_SEP),$$(subst $$(SPACE)=>$$(SPACE),$$($1_SEP),$$(subst $$(SPACE)=>$$(SPACE);$$(SPACE),$$($1_SEP)$$($1_SEP)g' \ - -e 's$$($1_SEP),$$(strip $$($1_REPLACEMENTS)))))$$($1_SEP)g' + -e 's$$($1_SEP),$$(subst &,\&,$$(strip $$($1_REPLACEMENTS))))))$$($1_SEP)g' else # We don't have any replacements, just pipe the file through cat. $1_REPLACEMENTS_COMMAND_LINE := $(CAT) diff --git a/src/hotspot/share/prims/jvmti.xml b/src/hotspot/share/prims/jvmti.xml index 51fb8567134..b55c108275b 100644 --- a/src/hotspot/share/prims/jvmti.xml +++ b/src/hotspot/share/prims/jvmti.xml @@ -1,7 +1,7 @@ - - @@ -367,10 +365,6 @@ JVM Tool Interface - - Copyright (c) 2002, 2018, Oracle and/or its affiliates. All rights reserved. - - The JVM Tool Interface () is a programming interface used by development and monitoring tools. diff --git a/src/hotspot/share/prims/jvmti.xsl b/src/hotspot/share/prims/jvmti.xsl index d4a49b8f0f7..8ab9f170a47 100644 --- a/src/hotspot/share/prims/jvmti.xsl +++ b/src/hotspot/share/prims/jvmti.xsl @@ -1,6 +1,6 @@ - + - @@ -119,7 +119,7 @@
  • Data Types
  • - @@ -220,12 +219,6 @@ - -

    - -

    -
    -

    @@ -286,7 +279,7 @@ - types: @@ -304,9 +297,9 @@ - + - flags and constants: @@ -322,7 +315,7 @@
    - +
    @@ -334,7 +327,7 @@ - +
    @@ -505,7 +498,7 @@ This function may be called from the callbacks to the Heap iteration functions, or from the - event handlers for the + event handlers for the GarbageCollectionStart, GarbageCollectionFinish, and ObjectFree events. @@ -536,7 +529,7 @@ - , + , @@ -932,7 +925,7 @@ typedef struct { - + @@ -949,12 +942,12 @@ typedef struct { - +
                 
    -          
    +
    @@ -977,7 +970,7 @@ typedef struct { - + @@ -994,7 +987,7 @@ typedef struct { - + @@ -1010,7 +1003,7 @@ typedef struct { - + @@ -1038,7 +1031,7 @@ typedef struct {