RFR 8241073: Pre-generated Stubs for javax.management, Activation, Naming

Erik Joelsson erik.joelsson at oracle.com
Tue Mar 17 13:17:11 UTC 2020


Hello,

That looks better, but there are still some more things to remove. This 
whole block:

################################################################################
# Targets for running rmic.
$(eval $(call DeclareRecipesForPhase, RMIC, \
     TARGET_SUFFIX := rmic, \
     FILE_PREFIX := Rmic, \
     MAKE_SUBDIR := rmic, \
     CHECK_MODULES := $(ALL_MODULES)))

ALL_TARGETS += $(RMIC_TARGETS)

And all references to $(RMIC_TARGETS) and $(RMIC_MODULES). In most cases 
the whole lines (like the $(foreach) calls that iterate over them) can 
just be removed.

/Erik

On 2020-03-16 15:19, Roger Riggs wrote:
> Hi Erik,
>
> Please review a new webrev that adds the change to remove the interim 
> build parts.
> (Passes Tier 1-3 of CI testing)
>
> http://cr.openjdk.java.net/~rriggs/webrev-stubs-classes-8241073-1/
>
> Thanks, Roger
>
>
> On 3/16/20 12:22 PM, Erik Joelsson wrote:
>> Hello Roger,
>>
>> There is more to be removed in the makefiles.
>>
>> This file should also be removed:
>>
>> make/CompileInterimRmic.gmk
>>
>> In make/Main.gmk, all the targets concerning rmic needs to be removed 
>> as well as any dependencies declared that involves them. Searching 
>> for "rmic" should find all relevant lines.
>>
>> /Erik
>>
>> On 2020-03-16 09:02, Roger Riggs wrote:
>>> Please review adding pre-generated RMI stub classes to the jdk repo
>>> and the removal of make files supporting the specific APIs.
>>>
>>> It removes a dependency on build time generation invoking RMIC.
>>> RMIC was  deprecated in JDK 13 [1].
>>>
>>> The source files have been edited to remove or suppress compilation 
>>> warnings.
>>>
>>> Webrev:
>>> http://cr.openjdk.java.net/~rriggs/webrev-stubs-classes-8241073/
>>>
>>> Issue:
>>>  https://bugs.openjdk.java.net/browse/JDK-8241073
>>>
>>>
>>> Thanks, Roger
>>>
>>> p.s. A future change will remove the interim build steps
>>>
>>>
>>> [1] https://bugs.openjdk.java.net/browse/JDK-8217412
>



More information about the build-dev mailing list