This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
object EvilCode { | |
def time = System.currentTimeMillis() | |
} | |
object Thrower { | |
def throwException(): Long = { | |
throw new IllegalArgumentException("illegal access to system time") | |
} | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
JAVA_HOME=/usr/java/default | |
JAVA_OPTS="-server -Dfile.encoding=utf-8 -Djava.net.preferIPv4Stack=true -Djava.net.preferIPv4Addresses=true -Djava.awt.headless=true" | |
TEAMCITY_AGENT_MEM_OPTS="-Xmx3072m" | |
TEAMCITY_AGENT_OPTS="" | |
# TEAMCITY_LAUNCHER_OPTS Set agent launcher JVM options | |
# TEAMCITY_AGENT_PREPARE_SCRIPT name of a script to execute before start/stop |