Pierre-Benoît Côté created VELOCITY-908: -------------------------------------------
Summary: Initialization failure on Windows with Turkish locale Key: VELOCITY-908 URL: https://issues.apache.org/jira/browse/VELOCITY-908 Project: Velocity Issue Type: Bug Components: Engine Affects Versions: 2.0 Environment: Windows with Turkish locale Reporter: Pierre-Benoît Côté velocity-engine-core/2.0 fails to initialize on a Windows machine with Turkish locale. Invocation of init method failed; nested exception is java.lang.IllegalArgumentException: No enum constant org.apache.velocity.runtime.RuntimeConstants.SpaceGobbling.LİNES The code is catching `NoSuchElementException` instead of the `IllegalArgumentException` that is being thrown by Enum.valueOf [https://github.com/apache/velocity-engine/blob/42e56bf3328e6b8f496503dc198d876def70fb78/velocity-engine-core/src/main/java/org/apache/velocity/runtime/RuntimeInstance.java#L356] [https://docs.oracle.com/javase/9/docs/api/java/lang/Enum.html#valueOf(java.lang.Class,%20java.lang.String)] -- This message was sent by Atlassian JIRA (v7.6.3#76005) --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscr...@velocity.apache.org For additional commands, e-mail: dev-h...@velocity.apache.org