Project

General

Profile

« Previous | Next » 

Revision 24ea68aa

Added by Andreas Müller almost 2 years ago

ref #10072 switch off security manager for DdlCreator

View differences:

cdmlib-test/src/main/java/eu/etaxonomy/cdm/test/unitils/DdlCreator.java
48 48

  
49 49
	public static void main(String[] args) {
50 50
		try {
51
		    System.setSecurityManager(null); //avoids security exception when started by ant (problem is the jmx server registration by log4j2, similar issue is described at https://stackoverflow.com/questions/12195868/java-security-accesscontrolexception-when-using-ant-but-runs-ok-when-invoking-j )
51 52
			new DdlCreator().execute(H2CorrectedDialectTest.class, "h2");
52 53
		} catch (Exception e) {
53 54
			e.printStackTrace();

Also available in: Unified diff