8008977: profiles build broken by Nashorn build changes
Erik Joelsson
erik.joelsson at oracle.com
Mon Mar 4 11:20:44 UTC 2013
The change in ListPathsSafely was needed because in nashorn, there are
java files with $ in the class name (not inner classes!). Thinking of it
now, I can imagine my change there causing problems for other uses of
the macro. Hopefully it will all be better with fewer $$ in the
makefiles in the long run though.
/Erik
On 2013-02-26 21:29, David Holmes wrote:
> Alan,
>
> Thanks for diving onto this. I can't say I understand what changed in
> detail yet but I know that there are places where I had to jump
> through hoops to deal with $ in class names appropriately. I would not
> be surprised if there is further breakage if somehow this expansion
> mechanism has changed.
>
> David
>
> On 26/02/2013 11:48 PM, Alan Bateman wrote:
>>
>> The build changes for Nashorn were pushed to jdk8/tl yesterday and one
>> of the casualties is the profiles build.
>>
>> My reading of the make file changes is that ListPathsSafely_If (defined
>> in MakeBase.gmk) has changed the expansion so that secondary expansion
>> is no longer required. Erik is away this week but I assume this was
>> intentional.
>>
>> Attached is the diffs that I propose to push to jdk8/tl today to get
>> profiles building again, assuming I get a reviewer.
>>
>> -Alan
>>
>>
>> diff --git a/makefiles/profile-rtjar-includes.txt
>> b/makefiles/profile-rtjar-includes.txt
>> --- a/makefiles/profile-rtjar-includes.txt
>> +++ b/makefiles/profile-rtjar-includes.txt
>> @@ -349,6 +349,7 @@
>> com/sun/rowset/providers \
>> com/sun/script/javascript \
>> com/sun/script/util \
>> + com/sun/security/auth \
>> com/sun/security/auth/callback \
>> com/sun/security/auth/login \
>> com/sun/security/auth/module \
>> @@ -448,8 +449,7 @@
>> sun/tracing \
>> sun/tracing/dtrace
>>
>> -PROFILE_3_RTJAR_INCLUDE_TYPES := \
>> - com/sun/security/auth/*.class
>> +PROFILE_3_RTJAR_INCLUDE_TYPES :=
>>
>> PROFILE_3_RTJAR_EXCLUDE_TYPES := \
>> javax/management/remote/rmi/_RMIConnectionImpl_Tie.class \
>> @@ -457,10 +457,10 @@
>> javax/management/remote/rmi/_RMIServerImpl_Tie.class \
>> javax/management/remote/rmi/_RMIServer_Stub.class \
>> com/sun/security/auth/callback/DialogCallbackHandler.class \
>> - com/sun/security/auth/callback/DialogCallbackHandler\$$$$1.class \
>> - com/sun/security/auth/callback/DialogCallbackHandler\$$$$2.class \
>> -
>> com/sun/security/auth/callback/DialogCallbackHandler\$$$$Action.class \
>> -
>> com/sun/security/auth/callback/DialogCallbackHandler\$$$$ConfirmationInfo.class
>>
>>
>> + com/sun/security/auth/callback/DialogCallbackHandler\$$1.class \
>> + com/sun/security/auth/callback/DialogCallbackHandler\$$2.class \
>> +
>> com/sun/security/auth/callback/DialogCallbackHandler\$$Action.class \
>> +
>> com/sun/security/auth/callback/DialogCallbackHandler\$$ConfirmationInfo.class
>>
>>
>>
>> PROFILE_3_INCLUDE_METAINF_SERVICES := \
>> META-INF/services/javax.script.ScriptEngineFactory
More information about the build-dev
mailing list