Merge
authorlana
Thu, 08 Mar 2012 14:22:15 -0800
changeset 12053 ed95387fe470
parent 12052 918a727b21b0 (current diff)
parent 12051 60092b8cec96 (diff)
child 12054 e395fe961b4a
Merge
--- a/jdk/make/com/apple/osxui/Makefile	Thu Mar 08 08:18:56 2012 -0800
+++ b/jdk/make/com/apple/osxui/Makefile	Thu Mar 08 14:22:15 2012 -0800
@@ -98,7 +98,7 @@
 
 OTHER_LDLIBS = \
     -lawt -losxapp \
-    -llwawt -L$(LIBDIR)/lwawt -Xlinker -rpath -Xlinker @loader_path/lwawt \
+    -lawt_lwawt -L$(LIBDIR) -Xlinker -rpath -Xlinker @loader_path \
     -framework Cocoa \
     -framework Carbon \
     -framework ApplicationServices \
--- a/jdk/make/sun/headless/Makefile	Thu Mar 08 08:18:56 2012 -0800
+++ b/jdk/make/sun/headless/Makefile	Thu Mar 08 14:22:15 2012 -0800
@@ -29,11 +29,6 @@
 MOTIF_VERSION = none
 MOTIF_VERSION_STRING=none
 
-ifeq ($(PLATFORM), macosx)
-LIB_LOCATION = $(LIBDIR)/headless
-else
-endif
-
 PACKAGE = sun.awt
 LIBRARY = awt_headless
 PRODUCT = sun
--- a/jdk/make/sun/jawt/Makefile	Thu Mar 08 08:18:56 2012 -0800
+++ b/jdk/make/sun/jawt/Makefile	Thu Mar 08 14:22:15 2012 -0800
@@ -133,7 +133,7 @@
 
 ifeq ($(PLATFORM), macosx)
 vpath %.m   $(call NativeSrcDirList,,native/sun/awt)
-OTHER_LDLIBS = -llwawt -L$(LIBDIR)/lwawt -Xlinker -rpath -Xlinker @loader_path/lwawt \
+OTHER_LDLIBS = -lawt_lwawt -L$(LIBDIR) -Xlinker -rpath -Xlinker @loader_path \
                -framework Cocoa
 endif # PLATFORM
 
--- a/jdk/make/sun/lwawt/Makefile	Thu Mar 08 08:18:56 2012 -0800
+++ b/jdk/make/sun/lwawt/Makefile	Thu Mar 08 14:22:15 2012 -0800
@@ -26,10 +26,10 @@
 BUILDDIR = ../..
 MODULE  = awt
 PACKAGE = sun.lwawt
-LIBRARY = lwawt
+LIBRARY = awt_lwawt
 PRODUCT = sun
 
-LIB_LOCATION = $(LIBDIR)/lwawt
+LIB_LOCATION = $(LIBDIR)
 
 include $(BUILDDIR)/common/Defs.gmk
 
--- a/jdk/make/sun/xawt/Makefile	Thu Mar 08 08:18:56 2012 -0800
+++ b/jdk/make/sun/xawt/Makefile	Thu Mar 08 14:22:15 2012 -0800
@@ -28,10 +28,6 @@
 LIBRARY = awt_xawt
 PRODUCT = sun
 
-ifeq ($(PLATFORM), macosx)
-LIB_LOCATION = $(LIBDIR)/xawt
-endif
-
 include $(BUILDDIR)/common/Defs.gmk
 
 GEN_DIR=$(GENSRCDIR)/sun/awt/X11
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/jdk/src/share/classes/java/lang/annotation/ContainerAnnotation.java	Thu Mar 08 14:22:15 2012 -0800
@@ -0,0 +1,46 @@
+/*
+ * Copyright (c) 2012, Oracle and/or its affiliates. All rights reserved.
+ * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
+ *
+ * This code is free software; you can redistribute it and/or modify it
+ * under the terms of the GNU General Public License version 2 only, as
+ * published by the Free Software Foundation.  Oracle designates this
+ * particular file as subject to the "Classpath" exception as provided
+ * by Oracle in the LICENSE file that accompanied this code.
+ *
+ * This code is distributed in the hope that it will be useful, but WITHOUT
+ * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
+ * FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License
+ * version 2 for more details (a copy is included in the LICENSE file that
+ * accompanied this code).
+ *
+ * You should have received a copy of the GNU General Public License version
+ * 2 along with this work; if not, write to the Free Software Foundation,
+ * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
+ *
+ * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
+ * or visit www.oracle.com if you need additional information or have any
+ * questions.
+ */
+
+package java.lang.annotation;
+
+/**
+ * A meta-annotation to indicate which annotation type should be used
+ * as a container for repeated values of the annotation type modified
+ * by the {@code ContainerAnnotation} annotation.
+ *
+ * @since 1.8
+ * @jls 9.6 Annotation Types
+ * @jls 9.7 Annotations
+ */
+@Documented
+@Retention(RetentionPolicy.RUNTIME)
+@Target(ElementType.ANNOTATION_TYPE)
+public @interface ContainerAnnotation {
+    /**
+     * The annotation type to use to store repeated values of another
+     * annotation.
+     */
+    Class<? extends Annotation> value();
+}
--- a/jdk/src/solaris/native/sun/awt/awt_LoadLibrary.c	Thu Mar 08 08:18:56 2012 -0800
+++ b/jdk/src/solaris/native/sun/awt/awt_LoadLibrary.c	Thu Mar 08 14:22:15 2012 -0800
@@ -77,11 +77,12 @@
  * Pathnames to the various awt toolkits
  */
 
+
 #ifdef MACOSX
-  #define XAWT_PATH "/xawt/libawt_xawt.dylib"
-  #define LWAWT_PATH "/lwawt/liblwawt.dylib"
+  #define XAWT_PATH "/libawt_xawt.dylib"
+  #define LWAWT_PATH "/libawt_lwawt.dylib"
   #define DEFAULT_PATH LWAWT_PATH
-  #define HEADLESS_PATH "/headless/libawt_headless.dylib"
+  #define HEADLESS_PATH "/libawt_headless.dylib"
 #else
   #define XAWT_PATH "/libawt_xawt.so"
   #define DEFAULT_PATH XAWT_PATH