src/jdk.compiler/share/classes/com/sun/tools/javac/comp/CompileStates.java
changeset 58350 e23e560afbcb
parent 47216 71c04702a3d5
child 59285 7799a51dbe30
equal deleted inserted replaced
58349:894a3d15c344 58350:e23e560afbcb
     1 /*
     1 /*
     2  * Copyright (c) 2013, Oracle and/or its affiliates. All rights reserved.
     2  * Copyright (c) 2013, 2019, Oracle and/or its affiliates. All rights reserved.
     3  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
     3  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
     4  *
     4  *
     5  * This code is free software; you can redistribute it and/or modify it
     5  * This code is free software; you can redistribute it and/or modify it
     6  * under the terms of the GNU General Public License version 2 only, as
     6  * under the terms of the GNU General Public License version 2 only, as
     7  * published by the Free Software Foundation.  Oracle designates this
     7  * published by the Free Software Foundation.  Oracle designates this
    75         private final int value;
    75         private final int value;
    76     }
    76     }
    77 
    77 
    78     private static final long serialVersionUID = 1812267524140424433L;
    78     private static final long serialVersionUID = 1812267524140424433L;
    79 
    79 
    80     protected Context context;
    80     protected transient Context context;
    81 
    81 
    82     public CompileStates(Context context) {
    82     public CompileStates(Context context) {
    83         this.context = context;
    83         this.context = context;
    84         context.put(compileStatesKey, this);
    84         context.put(compileStatesKey, this);
    85     }
    85     }