make/rmic/Rmic-java.management.rmi.gmk
author tschatzl
Wed, 11 Sep 2019 10:19:09 +0200
changeset 58081 8b08eaf9a0eb
parent 54365 dd5c64326027
child 58908 73bb9c4002cc
permissions -rw-r--r--
8230794: Improve assert to get more information about the JDK-8227695 failure Reviewed-by: kbarrett, sjohanss
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
25859
3317bb8137f4 8054834: Modular Source Code
chegar
parents:
diff changeset
     1
#
52804
28094715ae71 8214718: Update missing copyright year in build system
ihse
parents: 52065
diff changeset
     2
# Copyright (c) 2011, 2018, Oracle and/or its affiliates. All rights reserved.
25859
3317bb8137f4 8054834: Modular Source Code
chegar
parents:
diff changeset
     3
# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
3317bb8137f4 8054834: Modular Source Code
chegar
parents:
diff changeset
     4
#
3317bb8137f4 8054834: Modular Source Code
chegar
parents:
diff changeset
     5
# This code is free software; you can redistribute it and/or modify it
3317bb8137f4 8054834: Modular Source Code
chegar
parents:
diff changeset
     6
# under the terms of the GNU General Public License version 2 only, as
3317bb8137f4 8054834: Modular Source Code
chegar
parents:
diff changeset
     7
# published by the Free Software Foundation.  Oracle designates this
3317bb8137f4 8054834: Modular Source Code
chegar
parents:
diff changeset
     8
# particular file as subject to the "Classpath" exception as provided
3317bb8137f4 8054834: Modular Source Code
chegar
parents:
diff changeset
     9
# by Oracle in the LICENSE file that accompanied this code.
3317bb8137f4 8054834: Modular Source Code
chegar
parents:
diff changeset
    10
#
3317bb8137f4 8054834: Modular Source Code
chegar
parents:
diff changeset
    11
# This code is distributed in the hope that it will be useful, but WITHOUT
3317bb8137f4 8054834: Modular Source Code
chegar
parents:
diff changeset
    12
# ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
3317bb8137f4 8054834: Modular Source Code
chegar
parents:
diff changeset
    13
# FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License
3317bb8137f4 8054834: Modular Source Code
chegar
parents:
diff changeset
    14
# version 2 for more details (a copy is included in the LICENSE file that
3317bb8137f4 8054834: Modular Source Code
chegar
parents:
diff changeset
    15
# accompanied this code).
3317bb8137f4 8054834: Modular Source Code
chegar
parents:
diff changeset
    16
#
3317bb8137f4 8054834: Modular Source Code
chegar
parents:
diff changeset
    17
# You should have received a copy of the GNU General Public License version
3317bb8137f4 8054834: Modular Source Code
chegar
parents:
diff changeset
    18
# 2 along with this work; if not, write to the Free Software Foundation,
3317bb8137f4 8054834: Modular Source Code
chegar
parents:
diff changeset
    19
# Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
3317bb8137f4 8054834: Modular Source Code
chegar
parents:
diff changeset
    20
#
3317bb8137f4 8054834: Modular Source Code
chegar
parents:
diff changeset
    21
# Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
3317bb8137f4 8054834: Modular Source Code
chegar
parents:
diff changeset
    22
# or visit www.oracle.com if you need additional information or have any
3317bb8137f4 8054834: Modular Source Code
chegar
parents:
diff changeset
    23
# questions.
3317bb8137f4 8054834: Modular Source Code
chegar
parents:
diff changeset
    24
#
3317bb8137f4 8054834: Modular Source Code
chegar
parents:
diff changeset
    25
3317bb8137f4 8054834: Modular Source Code
chegar
parents:
diff changeset
    26
default: all
3317bb8137f4 8054834: Modular Source Code
chegar
parents:
diff changeset
    27
3317bb8137f4 8054834: Modular Source Code
chegar
parents:
diff changeset
    28
include RmicCommon.gmk
3317bb8137f4 8054834: Modular Source Code
chegar
parents:
diff changeset
    29
3317bb8137f4 8054834: Modular Source Code
chegar
parents:
diff changeset
    30
##########################################################################################
3317bb8137f4 8054834: Modular Source Code
chegar
parents:
diff changeset
    31
#
3317bb8137f4 8054834: Modular Source Code
chegar
parents:
diff changeset
    32
# Generate RMI stubs
3317bb8137f4 8054834: Modular Source Code
chegar
parents:
diff changeset
    33
#
3317bb8137f4 8054834: Modular Source Code
chegar
parents:
diff changeset
    34
3317bb8137f4 8054834: Modular Source Code
chegar
parents:
diff changeset
    35
JMX_RMI_CLASSES := javax.management.remote.rmi.RMIConnectionImpl \
3317bb8137f4 8054834: Modular Source Code
chegar
parents:
diff changeset
    36
    javax.management.remote.rmi.RMIServerImpl
32639
339de1317e84 8043937: Drop support for the IIOP transport from the JMX RMIConnector
jbachorik
parents: 27565
diff changeset
    37
339de1317e84 8043937: Drop support for the IIOP transport from the JMX RMIConnector
jbachorik
parents: 27565
diff changeset
    38
# Generate into gensrc dir where sources get picked up for javadoc, then move the classes
339de1317e84 8043937: Drop support for the IIOP transport from the JMX RMIConnector
jbachorik
parents: 27565
diff changeset
    39
# into the stub classes dir.
339de1317e84 8043937: Drop support for the IIOP transport from the JMX RMIConnector
jbachorik
parents: 27565
diff changeset
    40
$(eval $(call SetupRMICompilation,RMI_GEN, \
25859
3317bb8137f4 8054834: Modular Source Code
chegar
parents:
diff changeset
    41
    CLASSES := $(JMX_RMI_CLASSES), \
43503
bc7f8619ab70 8173607: JMX RMI connector should be in its own module
dfuchs
parents: 41472
diff changeset
    42
    CLASSES_DIR := $(CLASSES_DIR)/java.management.rmi, \
54365
dd5c64326027 8221703: Rmic build for java.management.api has bad incremental behavior
erikj
parents: 52804
diff changeset
    43
    STUB_CLASSES_DIR := $(STUB_CLASSES_DIR)/java.management.rmi, \
25859
3317bb8137f4 8054834: Modular Source Code
chegar
parents:
diff changeset
    44
    RUN_V12 := true, \
32639
339de1317e84 8043937: Drop support for the IIOP transport from the JMX RMIConnector
jbachorik
parents: 27565
diff changeset
    45
    KEEP_GENERATED := true, \
54365
dd5c64326027 8221703: Rmic build for java.management.api has bad incremental behavior
erikj
parents: 52804
diff changeset
    46
    STUB_SOURCES_DIR := $(RMIC_GENSRC_DIR)/java.management.rmi, \
32639
339de1317e84 8043937: Drop support for the IIOP transport from the JMX RMIConnector
jbachorik
parents: 27565
diff changeset
    47
))
25859
3317bb8137f4 8054834: Modular Source Code
chegar
parents:
diff changeset
    48
3317bb8137f4 8054834: Modular Source Code
chegar
parents:
diff changeset
    49
##########################################################################################
3317bb8137f4 8054834: Modular Source Code
chegar
parents:
diff changeset
    50
54365
dd5c64326027 8221703: Rmic build for java.management.api has bad incremental behavior
erikj
parents: 52804
diff changeset
    51
all: $(RMI_GEN)
25859
3317bb8137f4 8054834: Modular Source Code
chegar
parents:
diff changeset
    52
3317bb8137f4 8054834: Modular Source Code
chegar
parents:
diff changeset
    53
.PHONY: all