> Task :compileJava Setting target compatibility to 11 C:\jalview\src\jalview\bin\Jalview.java:166: warning: [removal] Policy in java.security has been deprecated and marked for removal Policy.setPolicy(new Policy() ^ C:\jalview\src\jalview\bin\Jalview.java:166: warning: [removal] Policy in java.security has been deprecated and marked for removal Policy.setPolicy(new Policy() ^ C:\jalview\src\jalview\bin\Jalview.java:308: warning: [removal] setSecurityManager(SecurityManager) in System has been deprecated and marked for removal System.setSecurityManager(null); ^ C:\jalview\src\mc_view\Atom.java:86: warning: [removal] Float(String) in Float has been deprecated and marked for removal this.x = (new Float(str.substring(30, 38).trim()).floatValue()); ^ C:\jalview\src\mc_view\Atom.java:87: warning: [removal] Float(String) in Float has been deprecated and marked for removal this.y = (new Float(str.substring(38, 46).trim()).floatValue()); ^ C:\jalview\src\mc_view\Atom.java:88: warning: [removal] Float(String) in Float has been deprecated and marked for removal this.z = (new Float(str.substring(47, 55).trim()).floatValue()); ^ C:\jalview\src\mc_view\Atom.java:93: warning: [removal] Float(String) in Float has been deprecated and marked for removal occupancy = (new Float(tm)).floatValue(); ^ C:\jalview\src\mc_view\Atom.java:103: warning: [removal] Float(String) in Float has been deprecated and marked for removal tfactor = (new Float(tm).floatValue()); ^ C:\jalview\src\jalview\viewmodel\seqfeatures\FeatureRendererModel.java:298: warning: [synchronization] attempt to synchronize on an instance of a value-based class synchronized (firing) ^ C:\jalview\src\jalview\analysis\Finder.java:609: warning: non-varargs call of varargs method with inexact argument type for last parameter; allFeatures = sf.getAllFeatures(null); ^ cast to String for a varargs call cast to String[] for a non-varargs call and to suppress this warning C:\jalview\src\jalview\bin\JalviewLite.java:89: warning: [removal] Applet in java.applet has been deprecated and marked for removal public class JalviewLite extends Applet ^ C:\jalview\src\jalview\bin\JalviewLite.java:1428: error: cannot find symbol JSObject scriptObject = JSObject.getWindow(this); ^ symbol: method getWindow(JalviewLite) location: class JSObject C:\jalview\src\jalview\bin\JalviewLite.java:1602: error: cannot find symbol JSObject scriptObject = JSObject.getWindow(this); ^ symbol: method getWindow(JalviewLite) location: class JSObject C:\jalview\src\jalview\bin\JalviewLite.java:1628: error: cannot find symbol scriptObject = JSObject.getWindow(this); ^ symbol: method getWindow(JalviewLite) location: class JSObject C:\jalview\src\jalview\javascript\JSFunctionExec.java:165: error: cannot find symbol scriptObject = JSObject.getWindow(jvlite); ^ symbol: method getWindow(JalviewLite) location: class JSObject C:\jalview\src\jalview\appletgui\Tooltip.java:188: warning: [removal] Applet in java.applet has been deprecated and marked for removal if ((parent instanceof Applet) || (parent instanceof Frame)) ^ C:\jalview\src\jalview\bin\JalviewLiteURLRetrieve.java:35: warning: [removal] Applet in java.applet has been deprecated and marked for removal public class JalviewLiteURLRetrieve extends Applet ^ C:\jalview\src\jalview\gui\FeatureEditor.java:313: warning: [removal] Integer(int) in Integer has been deprecated and marked for removal start.setValue(new Integer(sf.getBegin())); ^ C:\jalview\src\jalview\gui\FeatureEditor.java:314: warning: [removal] Integer(int) in Integer has been deprecated and marked for removal end.setValue(new Integer(sf.getEnd())); ^ C:\jalview\src\jalview\gui\FeatureEditor.java:402: warning: [removal] Integer(int) in Integer has been deprecated and marked for removal start.setValue(new Integer(firstFeature.getBegin())); ^ C:\jalview\src\jalview\gui\FeatureEditor.java:403: warning: [removal] Integer(int) in Integer has been deprecated and marked for removal end.setValue(new Integer(firstFeature.getEnd())); ^ C:\jalview\src\jalview\io\AppletFormatAdapter.java:574: warning: [removal] getSecurityManager() in System has been deprecated and marked for removal InputStream is = System.getSecurityManager().getClass() ^ C:\jalview\src\org\json\simple\parser\JSONParser.java:150: warning: [removal] Integer(int) in Integer has been deprecated and marked for removal statusStack.addFirst(new Integer(status)); ^ C:\jalview\src\org\json\simple\parser\JSONParser.java:155: warning: [removal] Integer(int) in Integer has been deprecated and marked for removal statusStack.addFirst(new Integer(status)); ^ C:\jalview\src\org\json\simple\parser\JSONParser.java:160: warning: [removal] Integer(int) in Integer has been deprecated and marked for removal statusStack.addFirst(new Integer(status)); ^ C:\jalview\src\org\json\simple\parser\JSONParser.java:186: warning: [removal] Integer(int) in Integer has been deprecated and marked for removal statusStack.addFirst(new Integer(status)); ^ C:\jalview\src\org\json\simple\parser\JSONParser.java:230: warning: [removal] Integer(int) in Integer has been deprecated and marked for removal statusStack.addFirst(new Integer(status)); ^ C:\jalview\src\org\json\simple\parser\JSONParser.java:240: warning: [removal] Integer(int) in Integer has been deprecated and marked for removal statusStack.addFirst(new Integer(status)); ^ C:\jalview\src\org\json\simple\parser\JSONParser.java:274: warning: [removal] Integer(int) in Integer has been deprecated and marked for removal statusStack.addFirst(new Integer(status)); ^ C:\jalview\src\org\json\simple\parser\JSONParser.java:282: warning: [removal] Integer(int) in Integer has been deprecated and marked for removal statusStack.addFirst(new Integer(status)); ^ C:\jalview\src\org\json\simple\parser\JSONParser.java:415: warning: [removal] Integer(int) in Integer has been deprecated and marked for removal statusStack.addFirst(new Integer(status)); ^ C:\jalview\src\org\json\simple\parser\JSONParser.java:421: warning: [removal] Integer(int) in Integer has been deprecated and marked for removal statusStack.addFirst(new Integer(status)); ^ C:\jalview\src\org\json\simple\parser\JSONParser.java:427: warning: [removal] Integer(int) in Integer has been deprecated and marked for removal statusStack.addFirst(new Integer(status)); ^ C:\jalview\src\org\json\simple\parser\JSONParser.java:462: warning: [removal] Integer(int) in Integer has been deprecated and marked for removal statusStack.addFirst(new Integer(status)); ^ C:\jalview\src\org\json\simple\parser\JSONParser.java:506: warning: [removal] Integer(int) in Integer has been deprecated and marked for removal statusStack.addFirst(new Integer(S_IN_PAIR_VALUE)); ^ C:\jalview\src\org\json\simple\parser\JSONParser.java:508: warning: [removal] Integer(int) in Integer has been deprecated and marked for removal statusStack.addFirst(new Integer(status)); ^ C:\jalview\src\org\json\simple\parser\JSONParser.java:514: warning: [removal] Integer(int) in Integer has been deprecated and marked for removal statusStack.addFirst(new Integer(S_IN_PAIR_VALUE)); ^ C:\jalview\src\org\json\simple\parser\JSONParser.java:516: warning: [removal] Integer(int) in Integer has been deprecated and marked for removal statusStack.addFirst(new Integer(status)); ^ C:\jalview\src\org\json\simple\parser\JSONParser.java:561: warning: [removal] Integer(int) in Integer has been deprecated and marked for removal statusStack.addFirst(new Integer(status)); ^ C:\jalview\src\org\json\simple\parser\JSONParser.java:567: warning: [removal] Integer(int) in Integer has been deprecated and marked for removal statusStack.addFirst(new Integer(status)); ^ C:\jalview\src\org\json\simple\parser\Yylex.java:645: warning: [removal] Character(char) in Character has been deprecated and marked for removal new Character(yycharat(0))); ^ Note: Some input files use or override a deprecated API. Note: Recompile with -Xlint:deprecation for details. Note: Some input files use unchecked or unsafe operations. Note: Recompile with -Xlint:unchecked for details. 4 errors 37 warnings