git://source.jalview.org
/
jalview.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
e9ed820
)
JAL-2074 disable security manager at start up re: http://lopica.sourceforge.net/faq...
author
Jim Procter
<jprocter@issues.jalview.org>
Mon, 25 Apr 2016 20:35:20 +0000
(21:35 +0100)
committer
Jim Procter
<jprocter@issues.jalview.org>
Mon, 25 Apr 2016 20:35:20 +0000
(21:35 +0100)
src/jalview/bin/Jalview.java
patch
|
blob
|
history
diff --git
a/src/jalview/bin/Jalview.java
b/src/jalview/bin/Jalview.java
index
8fe3bca
..
229c6c2
100755
(executable)
--- a/
src/jalview/bin/Jalview.java
+++ b/
src/jalview/bin/Jalview.java
@@
-68,6
+68,7
@@
public class Jalview
// grab all the rights we can the JVM
Policy.setPolicy(new Policy()
{
// grab all the rights we can the JVM
Policy.setPolicy(new Policy()
{
+ @Override
public PermissionCollection getPermissions(CodeSource codesource)
{
Permissions perms = new Permissions();
public PermissionCollection getPermissions(CodeSource codesource)
{
Permissions perms = new Permissions();
@@
-75,6
+76,7
@@
public class Jalview
return (perms);
}
return (perms);
}
+ @Override
public void refresh()
{
}
public void refresh()
{
}
@@
-89,6
+91,7
@@
public class Jalview
*/
public static void main(String[] args)
{
*/
public static void main(String[] args)
{
+ System.setSecurityManager(null);
System.out.println("Java version: "
+ System.getProperty("java.version"));
System.out.println(System.getProperty("os.arch") + " "
System.out.println("Java version: "
+ System.getProperty("java.version"));
System.out.println(System.getProperty("os.arch") + " "
@@
-729,6
+732,7
@@
public class Jalview
+ "\n\n(you can enable or disable usage tracking in the preferences)",
new Runnable()
{
+ "\n\n(you can enable or disable usage tracking in the preferences)",
new Runnable()
{
+ @Override
public void run()
{
Cache.log
public void run()
{
Cache.log
@@
-738,6
+742,7
@@
public class Jalview
}
}, new Runnable()
{
}
}, new Runnable()
{
+ @Override
public void run()
{
Cache.log.debug("Not enabling Google Tracking.");
public void run()
{
Cache.log.debug("Not enabling Google Tracking.");
@@
-1040,6
+1045,7
@@
public class Jalview
class rnabuttonlistener implements ActionListener
{
class rnabuttonlistener implements ActionListener
{
+ @Override
public void actionPerformed(ActionEvent arg0)
{
System.out.println("Good idea ! ");
public void actionPerformed(ActionEvent arg0)
{
System.out.println("Good idea ! ");
@@
-1049,6
+1055,7
@@
class rnabuttonlistener implements ActionListener
class pbuttonlistener implements ActionListener
{
class pbuttonlistener implements ActionListener
{
+ @Override
public void actionPerformed(ActionEvent arg0)
{
public void actionPerformed(ActionEvent arg0)
{
@@
-1169,6
+1176,7
@@
class FeatureFetcher
new Thread(new Runnable()
{
new Thread(new Runnable()
{
+ @Override
public void run()
{
synchronized (us)
public void run()
{
synchronized (us)