http-client-branch: review comment - remove ineffectual usages of @Stable http-client-branch
authorchegar
Tue, 17 Apr 2018 15:16:18 +0100
branchhttp-client-branch
changeset 56445 5b0fa9bc35b3
parent 56444 26ffd521fb97
child 56446 eaa8b1fbfb23
http-client-branch: review comment - remove ineffectual usages of @Stable
src/java.net.http/share/classes/jdk/internal/net/http/hpack/Decoder.java
src/java.net.http/share/classes/jdk/internal/net/http/hpack/SimpleHeaderTable.java
src/java.net.http/share/classes/jdk/internal/net/http/websocket/Frame.java
src/java.net.http/share/classes/jdk/internal/net/http/websocket/MessageQueue.java
--- a/src/java.net.http/share/classes/jdk/internal/net/http/hpack/Decoder.java	Tue Apr 17 14:00:01 2018 +0100
+++ b/src/java.net.http/share/classes/jdk/internal/net/http/hpack/Decoder.java	Tue Apr 17 15:16:18 2018 +0100
@@ -25,7 +25,6 @@
 package jdk.internal.net.http.hpack;
 
 import jdk.internal.net.http.hpack.HPACK.Logger;
-import jdk.internal.vm.annotation.Stable;
 
 import java.io.IOException;
 import java.nio.ByteBuffer;
@@ -67,7 +66,6 @@
     private final Logger logger;
     private static final AtomicLong DECODERS_IDS = new AtomicLong();
 
-    @Stable
     private static final State[] states = new State[256];
 
     static {
--- a/src/java.net.http/share/classes/jdk/internal/net/http/hpack/SimpleHeaderTable.java	Tue Apr 17 14:00:01 2018 +0100
+++ b/src/java.net.http/share/classes/jdk/internal/net/http/hpack/SimpleHeaderTable.java	Tue Apr 17 15:16:18 2018 +0100
@@ -25,7 +25,6 @@
 package jdk.internal.net.http.hpack;
 
 import jdk.internal.net.http.hpack.HPACK.Logger;
-import jdk.internal.vm.annotation.Stable;
 
 import java.util.NoSuchElementException;
 
@@ -41,7 +40,6 @@
  */
 class SimpleHeaderTable {
 
-    @Stable
     protected static final HeaderField[] staticTable = {
             null, // To make index 1-based, instead of 0-based
             new HeaderField(":authority"),
--- a/src/java.net.http/share/classes/jdk/internal/net/http/websocket/Frame.java	Tue Apr 17 14:00:01 2018 +0100
+++ b/src/java.net.http/share/classes/jdk/internal/net/http/websocket/Frame.java	Tue Apr 17 15:16:18 2018 +0100
@@ -25,8 +25,6 @@
 
 package jdk.internal.net.http.websocket;
 
-import jdk.internal.vm.annotation.Stable;
-
 import java.nio.ByteBuffer;
 
 import static jdk.internal.net.http.common.Utils.dump;
@@ -61,7 +59,6 @@
         CONTROL_0xE    (0xE),
         CONTROL_0xF    (0xF);
 
-        @Stable
         private static final Opcode[] opcodes;
 
         static {
--- a/src/java.net.http/share/classes/jdk/internal/net/http/websocket/MessageQueue.java	Tue Apr 17 14:00:01 2018 +0100
+++ b/src/java.net.http/share/classes/jdk/internal/net/http/websocket/MessageQueue.java	Tue Apr 17 15:16:18 2018 +0100
@@ -25,8 +25,6 @@
 
 package jdk.internal.net.http.websocket;
 
-import jdk.internal.vm.annotation.Stable;
-
 import java.io.IOException;
 import java.nio.ByteBuffer;
 import java.nio.CharBuffer;
@@ -85,7 +83,6 @@
  */
 public class MessageQueue {
 
-    @Stable
     private final Message[] elements;
 
     private final AtomicInteger tail = new AtomicInteger();