22
22
import static com .google .common .collect .ImmutableList .toImmutableList ;
23
23
import static java .nio .charset .StandardCharsets .UTF_8 ;
24
24
25
- import com .google .common .annotations .GwtIncompatible ;
26
25
import com .google .common .annotations .VisibleForTesting ;
27
26
import com .google .common .base .Joiner ;
28
27
import com .google .common .base .Optional ;
@@ -596,7 +595,6 @@ protected void reconcileOptionsWithGuards() {
596
595
*
597
596
* @param typedAstListStream a gzipped, binary-serialized TypedAst.List proto
598
597
*/
599
- @ GwtIncompatible
600
598
public final void initWithTypedAstFilesystem (
601
599
List <SourceFile > externs ,
602
600
List <SourceFile > sources ,
@@ -621,7 +619,6 @@ public final void initWithTypedAstFilesystem(
621
619
*
622
620
* @param typedAstListStream a gzipped, binary-serialized TypedAst.List proto
623
621
*/
624
- @ GwtIncompatible
625
622
public void initChunksWithTypedAstFilesystem (
626
623
List <SourceFile > externs ,
627
624
List <JSChunk > chunks ,
@@ -644,7 +641,6 @@ public void initChunksWithTypedAstFilesystem(
644
641
this .mergeAndDeserializeTypedAsts (files , typedAstListStream , options );
645
642
}
646
643
647
- @ GwtIncompatible
648
644
private void mergeAndDeserializeTypedAsts (
649
645
ImmutableSet <SourceFile > requiredInputFiles ,
650
646
InputStream typedAstListStream ,
@@ -695,7 +691,6 @@ private void mergeAndDeserializeTypedAsts(
695
691
}
696
692
697
693
@ Override
698
- @ GwtIncompatible
699
694
public void initRuntimeLibraryTypedAsts (Optional <ColorPool .Builder > colorPoolBuilder ) {
700
695
checkState (this .runtimeLibraryTypedAsts == null );
701
696
@@ -4179,7 +4174,6 @@ private static final ImmutableListMultimap<JSChunk, InputId> mapJSModulesToInput
4179
4174
return jsmoduleToInputId .build ();
4180
4175
}
4181
4176
4182
- @ GwtIncompatible ("ObjectOutputStream" )
4183
4177
public void saveState (OutputStream outputStream ) throws IOException {
4184
4178
// Do not close the outputstream, caller is responsible for closing it.
4185
4179
runInCompilerThread (
@@ -4209,7 +4203,6 @@ protected CompilerState getCompilerState() {
4209
4203
return new CompilerState (this );
4210
4204
}
4211
4205
4212
- @ GwtIncompatible ("ClassNotFoundException" )
4213
4206
public void restoreState (InputStream inputStream ) throws IOException , ClassNotFoundException {
4214
4207
initWarningsGuard (options .getWarningsGuard ());
4215
4208
maybeSetTracker ();
@@ -4232,7 +4225,6 @@ public void restoreState(InputStream inputStream) throws IOException, ClassNotFo
4232
4225
}
4233
4226
}
4234
4227
4235
- @ GwtIncompatible ("ObjectInputStream" )
4236
4228
// this method must be called from within a "compiler thread" with a larger stack
4237
4229
private void deserializeCompilerState (InputStream inputStream )
4238
4230
throws IOException , ClassNotFoundException {
0 commit comments