8173604: Rename module 8173604 java.annotations.common to java.xml.ws.annoations
Reviewed-by: dfuchs, alanb, psandoz, mchung
diff --git a/src/java.annotations.common/share/classes/javax/annotation/Generated.java b/src/java.xml.ws.annotation/share/classes/javax/annotation/Generated.java
similarity index 100%
rename from src/java.annotations.common/share/classes/javax/annotation/Generated.java
rename to src/java.xml.ws.annotation/share/classes/javax/annotation/Generated.java
diff --git a/src/java.annotations.common/share/classes/javax/annotation/PostConstruct.java b/src/java.xml.ws.annotation/share/classes/javax/annotation/PostConstruct.java
similarity index 100%
rename from src/java.annotations.common/share/classes/javax/annotation/PostConstruct.java
rename to src/java.xml.ws.annotation/share/classes/javax/annotation/PostConstruct.java
diff --git a/src/java.annotations.common/share/classes/javax/annotation/PreDestroy.java b/src/java.xml.ws.annotation/share/classes/javax/annotation/PreDestroy.java
similarity index 100%
rename from src/java.annotations.common/share/classes/javax/annotation/PreDestroy.java
rename to src/java.xml.ws.annotation/share/classes/javax/annotation/PreDestroy.java
diff --git a/src/java.annotations.common/share/classes/javax/annotation/Resource.java b/src/java.xml.ws.annotation/share/classes/javax/annotation/Resource.java
similarity index 100%
rename from src/java.annotations.common/share/classes/javax/annotation/Resource.java
rename to src/java.xml.ws.annotation/share/classes/javax/annotation/Resource.java
diff --git a/src/java.annotations.common/share/classes/javax/annotation/Resources.java b/src/java.xml.ws.annotation/share/classes/javax/annotation/Resources.java
similarity index 100%
rename from src/java.annotations.common/share/classes/javax/annotation/Resources.java
rename to src/java.xml.ws.annotation/share/classes/javax/annotation/Resources.java
diff --git a/src/java.annotations.common/share/classes/module-info.java b/src/java.xml.ws.annotation/share/classes/module-info.java
similarity index 91%
rename from src/java.annotations.common/share/classes/module-info.java
rename to src/java.xml.ws.annotation/share/classes/module-info.java
index fddb78c..58a6259 100644
--- a/src/java.annotations.common/share/classes/module-info.java
+++ b/src/java.xml.ws.annotation/share/classes/module-info.java
@@ -1,5 +1,5 @@
 /*
- * Copyright (c) 2014, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 2014, 2017, 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
@@ -27,7 +27,7 @@
  * Defines a subset of the Common Annotations API to support programs running
  * on the Java SE Platform.
  */
-module java.annotations.common {
+module java.xml.ws.annotation {
     exports javax.annotation;
 }
 
diff --git a/src/java.xml.ws/share/classes/module-info.java b/src/java.xml.ws/share/classes/module-info.java
index def2ec6..4a0175e 100644
--- a/src/java.xml.ws/share/classes/module-info.java
+++ b/src/java.xml.ws/share/classes/module-info.java
@@ -1,5 +1,5 @@
 /*
- * Copyright (c) 2015, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 2015, 2017, 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
@@ -31,7 +31,7 @@
     requires transitive java.activation;
     requires transitive java.xml;
     requires transitive java.xml.bind;
-    requires java.annotations.common;
+    requires java.xml.ws.annotation;
     requires java.desktop;
     requires java.logging;
     requires java.management;