Please review the fix for JDK-8049373. It applies only to 8u.
The JBS issue is not public, but the general problem is that some closed changes related to JDK-8044473 incorrectly ended up being added to the compact 1 profile. The changes in question depend on the management APIs, which are only available in the compact 3 profile, hence the build failure.
The diff below corrects the compact profile contents: diff -r 27f517db4207 make/profile-rtjar-includes.txt --- a/make/profile-rtjar-includes.txt Wed Jun 25 12:36:03 2014 -0700 +++ b/make/profile-rtjar-includes.txt Tue Jul 08 11:51:38 2014 -0700 @@ -117,6 +117,8 @@ com/sun/security/ntlm \ com/sun/security/sasl \ com/sun/tracing \ + jdk/management \ + jdk/internal/cmm \ java/lang/instrument \ java/lang/management \ java/security/acl \ With this change, the profiles build succeeds. Thanks, -Brent