From 02f05a1d9a08dea80e7e94be9ebc52649e0deacb Mon Sep 17 00:00:00 2001 From: Alexander Udalov Date: Sat, 18 Apr 2015 14:46:33 +0300 Subject: [PATCH] Don't use private Sun API in JsContext --- .../com/google/dart/compiler/backend/js/ast/JsContext.java | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/js/js.dart-ast/src/com/google/dart/compiler/backend/js/ast/JsContext.java b/js/js.dart-ast/src/com/google/dart/compiler/backend/js/ast/JsContext.java index e61649f551f..a9755edb9e3 100644 --- a/js/js.dart-ast/src/com/google/dart/compiler/backend/js/ast/JsContext.java +++ b/js/js.dart-ast/src/com/google/dart/compiler/backend/js/ast/JsContext.java @@ -5,7 +5,6 @@ package com.google.dart.compiler.backend.js.ast; import org.jetbrains.annotations.Nullable; -import sun.reflect.generics.reflectiveObjects.NotImplementedException; import java.util.List; @@ -17,7 +16,7 @@ import java.util.List; public abstract class JsContext { public void addPrevious(R node) { - throw new NotImplementedException(); + throw new UnsupportedOperationException(); } public void addPrevious(List nodes) { @@ -27,7 +26,7 @@ public abstract class JsContext { } public void addNext(R node) { - throw new NotImplementedException(); + throw new UnsupportedOperationException(); } public abstract void removeMe();