386013 Fix JavaSE-1.7 profile in publisher bundle
- Replace profile file with version from master (which in turn was
copied from org.eclipse.osgi).
Bug: 386013 EE profile JavaSE-1.7 declares system packages that don't exist
diff --git a/bundles/org.eclipse.equinox.p2.publisher/profiles/JavaSE-1.7.profile b/bundles/org.eclipse.equinox.p2.publisher/profiles/JavaSE-1.7.profile
index 019b3d7..6071cf9 100644
--- a/bundles/org.eclipse.equinox.p2.publisher/profiles/JavaSE-1.7.profile
+++ b/bundles/org.eclipse.equinox.p2.publisher/profiles/JavaSE-1.7.profile
@@ -1,5 +1,5 @@
###############################################################################
-# Copyright (c) 2009, 2011 IBM Corporation and others.
+# Copyright (c) 2009, 2012 IBM Corporation and others.
# All rights reserved. This program and the accompanying materials
# are made available under the terms of the Eclipse Public License v1.0
# which accompanies this distribution, and is available at
@@ -31,11 +31,9 @@
javax.lang.model.type,\
javax.lang.model.util,\
javax.management,\
- javax.management.event,\
javax.management.loading,\
javax.management.modelmbean,\
javax.management.monitor,\
- javax.management.namespace,\
javax.management.openmbean,\
javax.management.relation,\
javax.management.remote,\
@@ -192,6 +190,7 @@
JavaSE-1.7
org.osgi.framework.system.capabilities = \
osgi.ee; osgi.ee="OSGi/Minimum"; version:List<Version>="1.0, 1.1, 1.2",\
+ osgi.ee; osgi.ee="JRE"; version:List<Version>="1.0, 1.1",\
osgi.ee; osgi.ee="JavaSE"; version:List<Version>="1.0, 1.1, 1.2, 1.3, 1.4, 1.5, 1.6, 1.7"
osgi.java.profile.name = JavaSE-1.7
org.eclipse.jdt.core.compiler.compliance=1.7
@@ -199,4 +198,4 @@
org.eclipse.jdt.core.compiler.codegen.inlineJsrBytecode=enabled
org.eclipse.jdt.core.compiler.codegen.targetPlatform=1.7
org.eclipse.jdt.core.compiler.problem.assertIdentifier=error
-org.eclipse.jdt.core.compiler.problem.enumIdentifier=error
\ No newline at end of file
+org.eclipse.jdt.core.compiler.problem.enumIdentifier=error