[GitHub] groovy pull request #419: GROOVY-6396: same linkedlist code different behavi...

2016-09-17 Thread jwagenleitner
Github user jwagenleitner commented on a diff in the pull request: https://github.com/apache/groovy/pull/419#discussion_r79297434 --- Diff: src/main/org/codehaus/groovy/runtime/DefaultGroovyMethods.java --- @@ -8928,6 +8932,27 @@ public int compare(Map.Entry<K, V> e1, Map.E

[GitHub] groovy pull request #419: GROOVY-6396: same linkedlist code different behavi...

2016-09-17 Thread jwagenleitner
Github user jwagenleitner commented on a diff in the pull request: https://github.com/apache/groovy/pull/419#discussion_r79297452 --- Diff: src/main/org/codehaus/groovy/runtime/DefaultGroovyMethods.java --- @@ -8966,20 +8991,24 @@ public int compare(Map.Entry<K, V> e1, Map.E

[GitHub] groovy pull request #419: GROOVY-6396: same linkedlist code different behavi...

2016-09-17 Thread jwagenleitner
Github user jwagenleitner commented on a diff in the pull request: https://github.com/apache/groovy/pull/419#discussion_r79297398 --- Diff: src/main/org/codehaus/groovy/runtime/DefaultGroovyMethods.java --- @@ -8928,6 +8932,27 @@ public int compare(Map.Entry<K, V> e1, Map.E

[GitHub] groovy pull request #419: GROOVY-6396: same linkedlist code different behavi...

2016-09-17 Thread jwagenleitner
Github user jwagenleitner commented on a diff in the pull request: https://github.com/apache/groovy/pull/419#discussion_r79297378 --- Diff: src/main/org/codehaus/groovy/runtime/DefaultGroovyMethods.java --- @@ -8913,11 +8913,15 @@ public int compare(Map.Entry<K, V> e1, Map.E

[GitHub] groovy pull request #419: GROOVY-6396: same linkedlist code different behavi...

2016-09-17 Thread jwagenleitner
Github user jwagenleitner commented on a diff in the pull request: https://github.com/apache/groovy/pull/419#discussion_r79297442 --- Diff: src/main/org/codehaus/groovy/runtime/DefaultGroovyMethods.java --- @@ -8928,6 +8932,27 @@ public int compare(Map.Entry<K, V> e1, Map.E

[GitHub] groovy pull request #420: GROOVY-7940: @Lazy not generating "is" property ac...

2016-09-14 Thread jwagenleitner
GitHub user jwagenleitner opened a pull request: https://github.com/apache/groovy/pull/420 GROOVY-7940: @Lazy not generating "is" property accessor for booleans You can merge this pull request into a Git repository by running: $ git pull https://github.com/jwa

[GitHub] groovy pull request #:

2016-09-10 Thread jwagenleitner
Github user jwagenleitner commented on the pull request: https://github.com/apache/groovy/commit/9be5459c906ba106f235d40ebe0f25b7193a0467#commitcomment-18975680 In src/main/org/apache/groovy/metaclass/Realm.java: In src/main/org/apache/groovy/metaclass/Realm.java on line 43

[GitHub] groovy pull request #416: GROOVY-7926 - Don't use a CastExpression if the re...

2016-09-09 Thread jwagenleitner
Github user jwagenleitner commented on a diff in the pull request: https://github.com/apache/groovy/pull/416#discussion_r78228482 --- Diff: src/main/org/codehaus/groovy/transform/trait/TraitComposer.java --- @@ -293,7 +293,8 @@ private static void createForwarderMethod

[GitHub] groovy pull request #409: GROOVY-4018: Make the Groovy truth value of NaN be...

2016-09-01 Thread jwagenleitner
GitHub user jwagenleitner opened a pull request: https://github.com/apache/groovy/pull/409 GROOVY-4018: Make the Groovy truth value of NaN be false You can merge this pull request into a Git repository by running: $ git pull https://github.com/jwagenleitner/groovy GROOVY

[GitHub] groovy pull request #403: GROOVY-7611: java.util.Optional should evaluate to...

2016-08-28 Thread jwagenleitner
Github user jwagenleitner commented on a diff in the pull request: https://github.com/apache/groovy/pull/403#discussion_r76540119 --- Diff: src/main/org/codehaus/groovy/runtime/DefaultGroovyMethods.java --- @@ -10563,13 +10563,21 @@ private void prepare

[GitHub] groovy pull request #403: GROOVY-7611: java.util.Optional should evaluate to...

2016-08-28 Thread jwagenleitner
GitHub user jwagenleitner opened a pull request: https://github.com/apache/groovy/pull/403 GROOVY-7611: java.util.Optional should evaluate to false if empty You can merge this pull request into a Git repository by running: $ git pull https://github.com/jwagenleitner/groovy

[GitHub] groovy pull request #389: findbugs fixes

2016-08-21 Thread jwagenleitner
GitHub user jwagenleitner opened a pull request: https://github.com/apache/groovy/pull/389 findbugs fixes You can merge this pull request into a Git repository by running: $ git pull https://github.com/jwagenleitner/groovy findbugs Alternatively you can review and apply

[GitHub] groovy pull request #388: Calculating hashcode of IntRange by pairing functi...

2016-08-19 Thread jwagenleitner
Github user jwagenleitner commented on a diff in the pull request: https://github.com/apache/groovy/pull/388#discussion_r75499884 --- Diff: src/main/groovy/lang/IntRange.java --- @@ -415,4 +415,14 @@ public void step(int step, Closure closure) { step(step, adapter

[GitHub] groovy pull request #381: GROOVY-7014: A Java compile time error results in ...

2016-08-13 Thread jwagenleitner
Github user jwagenleitner commented on a diff in the pull request: https://github.com/apache/groovy/pull/381#discussion_r74691103 --- Diff: src/main/org/codehaus/groovy/ast/tools/ClassNodeUtils.java --- @@ -65,4 +73,122 @@ public static void

[GitHub] groovy pull request #381: GROOVY-7014: A Java compile time error results in ...

2016-08-13 Thread jwagenleitner
Github user jwagenleitner commented on a diff in the pull request: https://github.com/apache/groovy/pull/381#discussion_r74690791 --- Diff: src/main/org/codehaus/groovy/control/StaticImportVisitor.java --- @@ -317,6 +337,10 @@ protected Expression transformMethodCallExpression

[GitHub] groovy pull request #:

2016-08-10 Thread jwagenleitner
Github user jwagenleitner commented on the pull request: https://github.com/apache/groovy/commit/584d4d405061a08c317ea1297c2833f93445bcb7#commitcomment-18598788 In src/spec/test/SyntaxTest.groovy: In src/spec/test/SyntaxTest.groovy on line 169: I removed the unused tags

[GitHub] groovy pull request #:

2016-08-08 Thread jwagenleitner
Github user jwagenleitner commented on the pull request: https://github.com/apache/groovy/commit/584d4d405061a08c317ea1297c2833f93445bcb7#commitcomment-18561203 In src/spec/test/SyntaxTest.groovy: In src/spec/test/SyntaxTest.groovy on line 169: Thanks for pointing that out. I

[GitHub] groovy pull request #377: GROOVY-7884: GroovyScriptEngineImpl usage of Compi...

2016-08-04 Thread jwagenleitner
GitHub user jwagenleitner opened a pull request: https://github.com/apache/groovy/pull/377 GROOVY-7884: GroovyScriptEngineImpl usage of CompilerConfiguration can lead to memory leaks Also includes some minor refactoring/cleanup as separate commits. You can merge this pull request

[GitHub] groovy pull request #376: GROOVY-7774: Collection addAll fails CompileStatic...

2016-07-31 Thread jwagenleitner
Github user jwagenleitner commented on a diff in the pull request: https://github.com/apache/groovy/pull/376#discussion_r72905143 --- Diff: src/main/org/codehaus/groovy/runtime/DefaultGroovyMethods.java --- @@ -5169,12 +5170,13 @@ public static Map groupBy(Object[] self, List

[GitHub] groovy pull request #331: GROOVY-7291 - Declaration of double variable witho...

2016-07-25 Thread jwagenleitner
Github user jwagenleitner closed the pull request at: https://github.com/apache/groovy/pull/331 --- If your project is set up for it, you can reply to this email and have your reply appear on GitHub as well. If your project does not have this feature enabled and wishes so, or if the feature

[GitHub] groovy pull request #371: Serialization options for JsonOutput

2016-07-24 Thread jwagenleitner
GitHub user jwagenleitner opened a pull request: https://github.com/apache/groovy/pull/371 Serialization options for JsonOutput You can merge this pull request into a Git repository by running: $ git pull https://github.com/jwagenleitner/groovy Json-JsonOutput Alternatively

[GitHub] groovy pull request #366: GROOVY-7877: The Range abstraction could support n...

2016-07-21 Thread jwagenleitner
Github user jwagenleitner commented on a diff in the pull request: https://github.com/apache/groovy/pull/366#discussion_r71829235 --- Diff: src/main/groovy/lang/NumberRange.java --- @@ -0,0 +1,603 @@ +/* + * Licensed to the Apache Software Foundation (ASF) under one

[GitHub] groovy pull request #369: test cleanup: remove println calls

2016-07-19 Thread jwagenleitner
GitHub user jwagenleitner opened a pull request: https://github.com/apache/groovy/pull/369 test cleanup: remove println calls In many cases asserts were already in place to ensure the expected output. In places were asserts did not already exist, the println calls were

[GitHub] groovy pull request #366: GROOVY-7877: The Range abstraction could support n...

2016-07-14 Thread jwagenleitner
Github user jwagenleitner commented on a diff in the pull request: https://github.com/apache/groovy/pull/366#discussion_r70922392 --- Diff: src/main/groovy/lang/NumberRange.java --- @@ -0,0 +1,603 @@ +/* + * Licensed to the Apache Software Foundation (ASF) under one

[GitHub] groovy pull request #366: GROOVY-7877: The Range abstraction could support n...

2016-07-14 Thread jwagenleitner
Github user jwagenleitner commented on a diff in the pull request: https://github.com/apache/groovy/pull/366#discussion_r70831843 --- Diff: src/main/groovy/lang/NumberRange.java --- @@ -0,0 +1,603 @@ +/* + * Licensed to the Apache Software Foundation (ASF) under one

[GitHub] groovy pull request #366: GROOVY-7877: The Range abstraction could support n...

2016-07-14 Thread jwagenleitner
Github user jwagenleitner commented on a diff in the pull request: https://github.com/apache/groovy/pull/366#discussion_r70829938 --- Diff: src/main/groovy/lang/NumberRange.java --- @@ -0,0 +1,536 @@ +/* + * Licensed to the Apache Software Foundation (ASF) under one

[GitHub] groovy pull request #366: GROOVY-7877: The Range abstraction could support n...

2016-07-13 Thread jwagenleitner
Github user jwagenleitner commented on a diff in the pull request: https://github.com/apache/groovy/pull/366#discussion_r70646058 --- Diff: src/main/groovy/lang/NumberRange.java --- @@ -0,0 +1,536 @@ +/* + * Licensed to the Apache Software Foundation (ASF) under one

[GitHub] groovy pull request #366: GROOVY-7877: The Range abstraction could support n...

2016-07-13 Thread jwagenleitner
Github user jwagenleitner commented on a diff in the pull request: https://github.com/apache/groovy/pull/366#discussion_r70638231 --- Diff: src/main/groovy/lang/NumberRange.java --- @@ -0,0 +1,536 @@ +/* + * Licensed to the Apache Software Foundation (ASF) under one

[GitHub] groovy pull request #366: GROOVY-7877: The Range abstraction could support n...

2016-07-13 Thread jwagenleitner
Github user jwagenleitner commented on a diff in the pull request: https://github.com/apache/groovy/pull/366#discussion_r70638150 --- Diff: src/main/groovy/lang/NumberRange.java --- @@ -0,0 +1,536 @@ +/* + * Licensed to the Apache Software Foundation (ASF) under one

[GitHub] groovy pull request #365: GROOVY-5985 - Invalid hash key serialVersionUID

2016-07-09 Thread jwagenleitner
GitHub user jwagenleitner opened a pull request: https://github.com/apache/groovy/pull/365 GROOVY-5985 - Invalid hash key serialVersionUID Using a map key with the same name as a read-only property on the Map class would throw a groovy.lang.ReadOnlyPropertyException. The fix

[GitHub] groovy pull request #363: Security Tests

2016-07-03 Thread jwagenleitner
GitHub user jwagenleitner opened a pull request: https://github.com/apache/groovy/pull/363 Security Tests You can merge this pull request into a Git repository by running: $ git pull https://github.com/jwagenleitner/groovy SecurityTests Alternatively you can review and apply

[GitHub] groovy pull request #358: GROOVY-7842 - MarkupTemplateEngine Totally Broken

2016-06-28 Thread jwagenleitner
GitHub user jwagenleitner opened a pull request: https://github.com/apache/groovy/pull/358 GROOVY-7842 - MarkupTemplateEngine Totally Broken When running under a Security Manager an exception would be thrown because the empty codebase value was added as a Permission name which

[GitHub] groovy pull request #356: GROOVY-7873 - Regression performance issue in stri...

2016-06-24 Thread jwagenleitner
GitHub user jwagenleitner opened a pull request: https://github.com/apache/groovy/pull/356 GROOVY-7873 - Regression performance issue in string methods In order to implement CharSequence the GString implementation must call toString each time a CharSequence method is invoked

[GitHub] groovy pull request: GROOVY-7291 - Declaration of double variable ...

2016-05-09 Thread jwagenleitner
GitHub user jwagenleitner opened a pull request: https://github.com/apache/groovy/pull/331 GROOVY-7291 - Declaration of double variable without value assignment referrenced in closure Commit e08c389d67809a421f4f33c27012c54294f98259 made the change that broke this by resolving

[GitHub] groovy pull request: GROOVY-7683 - Memory leak when using Groovy a...

2016-05-02 Thread jwagenleitner
Github user jwagenleitner commented on a diff in the pull request: https://github.com/apache/groovy/pull/219#discussion_r61834705 --- Diff: src/main/org/codehaus/groovy/util/ManagedReference.java --- @@ -46,7 +46,6 @@ public final T get() { public final void

[GitHub] groovy pull request: GROOVY-7683 - Memory leak when using Groovy a...

2016-05-02 Thread jwagenleitner
Github user jwagenleitner commented on a diff in the pull request: https://github.com/apache/groovy/pull/219#discussion_r61764947 --- Diff: src/main/org/codehaus/groovy/reflection/ClassInfo.java --- @@ -35,13 +36,13 @@ * * @author Alex.Tkachman */ -public

[GitHub] groovy pull request: GROOVY-7683 - Memory leak when using Groovy a...

2016-05-02 Thread jwagenleitner
Github user jwagenleitner commented on a diff in the pull request: https://github.com/apache/groovy/pull/219#discussion_r61764022 --- Diff: src/main/org/codehaus/groovy/util/ManagedReference.java --- @@ -46,7 +46,6 @@ public final T get() { public final void

[GitHub] groovy pull request: GROOVY-7646 - Classes generated by Eval() nev...

2016-05-01 Thread jwagenleitner
GitHub user jwagenleitner opened a pull request: https://github.com/apache/groovy/pull/325 GROOVY-7646 - Classes generated by Eval() never collected from Permgen/Metaspace This is also fixed by PR #219 but that requires SoftReferences to be collected (because of beaninfocache

[GitHub] groovy pull request: Remove unused utility classes

2016-04-30 Thread jwagenleitner
GitHub user jwagenleitner opened a pull request: https://github.com/apache/groovy/pull/324 Remove unused utility classes These are public classes but under the `org.codehaus.groovy.util` package so am not sure if that makes them eligible to be removed or if they must be deprecated

[GitHub] groovy pull request: GROOVY-7728 - LAX parser: Commenting out key/...

2016-04-26 Thread jwagenleitner
GitHub user jwagenleitner opened a pull request: https://github.com/apache/groovy/pull/322 GROOVY-7728 - LAX parser: Commenting out key/val pairs doesn't work Changed loop to process comments and end of object marker after processing key/values because skipWhitespace leaves

[GitHub] groovy pull request: GROOVY-7783 - Redundant computation in Observ...

2016-04-17 Thread jwagenleitner
GitHub user jwagenleitner opened a pull request: https://github.com/apache/groovy/pull/314 GROOVY-7783 - Redundant computation in ObservableList Patch provided thanks to Monika Dhok. You can merge this pull request into a Git repository by running: $ git pull https

[GitHub] groovy pull request: GROOVY-7816 - ObservableList addAll method pr...

2016-04-17 Thread jwagenleitner
GitHub user jwagenleitner opened a pull request: https://github.com/apache/groovy/pull/313 GROOVY-7816 - ObservableList addAll method property change event index off by one You can merge this pull request into a Git repository by running: $ git pull https://github.com

[GitHub] groovy pull request: GROOVY-7781 - Cannot retrieve XML attribute w...

2016-04-02 Thread jwagenleitner
GitHub user jwagenleitner opened a pull request: https://github.com/apache/groovy/pull/302 GROOVY-7781 - Cannot retrieve XML attribute with namespace This change broke another test that asserted that an unprefixed attribute's namespace is the default namespace, but default

[GitHub] groovy pull request: GROOVY-7806 - @interface has too-stringent re...

2016-04-01 Thread jwagenleitner
GitHub user jwagenleitner opened a pull request: https://github.com/apache/groovy/pull/301 GROOVY-7806 - @interface has too-stringent requirement for newline You can merge this pull request into a Git repository by running: $ git pull https://github.com/jwagenleitner/groovy

[GitHub] groovy pull request: GROOVY-7777 - groovysh cannot load script wit...

2016-03-21 Thread jwagenleitner
GitHub user jwagenleitner opened a pull request: https://github.com/apache/groovy/pull/297 GROOVY- - groovysh cannot load script with shebang You can merge this pull request into a Git repository by running: $ git pull https://github.com/jwagenleitner/groovy GROOVY-

[GitHub] groovy pull request: make private fields final where possible

2016-03-18 Thread jwagenleitner
Github user jwagenleitner commented on a diff in the pull request: https://github.com/apache/groovy/pull/292#discussion_r56734729 --- Diff: src/main/org/codehaus/groovy/runtime/ProcessGroovyMethods.java --- @@ -433,7 +433,7 @@ public static Process or(final Process left, final

[GitHub] groovy pull request: make private fields final where possible

2016-03-18 Thread jwagenleitner
Github user jwagenleitner commented on a diff in the pull request: https://github.com/apache/groovy/pull/292#discussion_r56734403 --- Diff: src/main/org/codehaus/groovy/ast/expr/GStringExpression.java --- @@ -32,13 +32,15 @@ */ public class GStringExpression extends

[GitHub] groovy pull request: make private fields final where possible

2016-03-18 Thread jwagenleitner
Github user jwagenleitner commented on a diff in the pull request: https://github.com/apache/groovy/pull/292#discussion_r56733877 --- Diff: subprojects/groovy-macro/src/main/groovy/org/codehaus/groovy/macro/matcher/internal/MatchingConstraintsBuilder.groovy --- @@ -24,7 +24,7

[GitHub] groovy pull request: make private methods static when they are pla...

2016-03-15 Thread jwagenleitner
Github user jwagenleitner commented on a diff in the pull request: https://github.com/apache/groovy/pull/290#discussion_r56243773 --- Diff: subprojects/groovy-jsr223/src/main/java/org/codehaus/groovy/jsr223/GroovyScriptEngineImpl.java --- @@ -427,7 +427,7 @@ private Object

[GitHub] groovy pull request: make private methods static when they are pla...

2016-03-15 Thread jwagenleitner
Github user jwagenleitner commented on a diff in the pull request: https://github.com/apache/groovy/pull/290#discussion_r56243450 --- Diff: subprojects/groovy-jsr223/src/main/java/org/codehaus/groovy/jsr223/GroovyScriptEngineImpl.java --- @@ -427,7 +427,7 @@ private Object

[GitHub] groovy pull request: make private methods static when they are pla...

2016-03-15 Thread jwagenleitner
Github user jwagenleitner commented on a diff in the pull request: https://github.com/apache/groovy/pull/290#discussion_r56242514 --- Diff: subprojects/groovy-jsr223/src/main/java/org/codehaus/groovy/jsr223/GroovyScriptEngineImpl.java --- @@ -427,7 +427,7 @@ private Object

[GitHub] groovy pull request: make private fields final where possible

2016-03-14 Thread jwagenleitner
Github user jwagenleitner commented on a diff in the pull request: https://github.com/apache/groovy/pull/292#discussion_r56097572 --- Diff: subprojects/groovy-sql/src/main/java/groovy/sql/BatchingStatementWrapper.java --- @@ -34,10 +34,10 @@ * automatically. If batchSize

[GitHub] groovy pull request: make private fields final where possible

2016-03-14 Thread jwagenleitner
Github user jwagenleitner commented on a diff in the pull request: https://github.com/apache/groovy/pull/292#discussion_r56096947 --- Diff: src/main/org/codehaus/groovy/control/MultipleCompilationErrorsException.java --- @@ -27,7 +27,7 @@ public class

[GitHub] groovy pull request: Update asciidoctor gradle plugin

2016-02-22 Thread jwagenleitner
Github user jwagenleitner closed the pull request at: https://github.com/apache/groovy/pull/269 --- If your project is set up for it, you can reply to this email and have your reply appear on GitHub as well. If your project does not have this feature enabled and wishes so, or if the feature

[GitHub] groovy pull request: Update asciidoctor gradle plugin

2016-02-22 Thread jwagenleitner
GitHub user jwagenleitner opened a pull request: https://github.com/apache/groovy/pull/269 Update asciidoctor gradle plugin Upgrading from 1.5.2. to 1.5.3 allows the asciidoctor tasks to run successfully on jdk9, which failed with: java.lang.RuntimeException

[GitHub] groovy pull request: GROOVY-7751 - CallableStatement leak in Sql.c...

2016-02-13 Thread jwagenleitner
GitHub user jwagenleitner opened a pull request: https://github.com/apache/groovy/pull/263 GROOVY-7751 - CallableStatement leak in Sql.call() method You can merge this pull request into a Git repository by running: $ git pull https://github.com/jwagenleitner/groovy GROOVY

[GitHub] groovy pull request: GROOVY-7742 - Stackoverflow when method param...

2016-02-07 Thread jwagenleitner
Github user jwagenleitner commented on a diff in the pull request: https://github.com/apache/groovy/pull/253#discussion_r52127643 --- Diff: src/test/groovy/transform/stc/GenericsSTCTest.groovy --- @@ -1800,6 +1800,19 @@ assert result == 'ok

[GitHub] groovy pull request: Added new class BufferedIterator.

2016-01-31 Thread jwagenleitner
Github user jwagenleitner commented on a diff in the pull request: https://github.com/apache/groovy/pull/247#discussion_r51361938 --- Diff: src/main/org/codehaus/groovy/runtime/DefaultGroovyMethods.java --- @@ -16045,6 +16048,51 @@ public void remove

[GitHub] groovy pull request: Added new class BufferedIterator.

2016-01-31 Thread jwagenleitner
Github user jwagenleitner commented on a diff in the pull request: https://github.com/apache/groovy/pull/247#discussion_r51361900 --- Diff: src/main/org/codehaus/groovy/runtime/DefaultGroovyMethods.java --- @@ -16045,6 +16048,51 @@ public void remove

[GitHub] groovy pull request: Added new class BufferedIterator.

2016-01-31 Thread jwagenleitner
Github user jwagenleitner commented on a diff in the pull request: https://github.com/apache/groovy/pull/247#discussion_r51361896 --- Diff: src/main/org/codehaus/groovy/runtime/DefaultGroovyMethods.java --- @@ -16045,6 +16048,51 @@ public void remove

[GitHub] groovy pull request: Remove duplicate ReferenceBundle definitions

2016-01-26 Thread jwagenleitner
GitHub user jwagenleitner opened a pull request: https://github.com/apache/groovy/pull/249 Remove duplicate ReferenceBundle definitions Removed static initialization of default Soft/Weak bundles in ReferenceManager class. The methods in that class were not used in the codebase

[GitHub] groovy pull request:

2016-01-25 Thread jwagenleitner
Github user jwagenleitner commented on the pull request: https://github.com/apache/groovy/commit/2e7c69dc4d185dc790b7d15857235458ef3eb7a6#commitcomment-15661136 No problem, just hope I didn't introduce any new issues. :smile: --- If your project is set up for it, you can reply

[GitHub] groovy pull request:

2016-01-13 Thread jwagenleitner
Github user jwagenleitner commented on the pull request: https://github.com/apache/groovy/commit/606891d85bedbda8139882f41eef531f5752d99f#commitcomment-15437822 I think so. I've gone ahead and pushed to 2_4_X. Thanks. --- If your project is set up for it, you can reply

[GitHub] groovy pull request: GROOVY-6327 - normalize line endings

2016-01-09 Thread jwagenleitner
GitHub user jwagenleitner opened a pull request: https://github.com/apache/groovy/pull/236 GROOVY-6327 - normalize line endings Use `.gitattributes` to normalize line endings (http://git-scm.com/docs/gitattributes). Besides adding the `.gitattributes` file also had it identify

[GitHub] groovy pull request: Safely publish MetaClass so threads wont see ...

2016-01-09 Thread jwagenleitner
GitHub user jwagenleitner opened a pull request: https://github.com/apache/groovy/pull/237 Safely publish MetaClass so threads wont see a partially constructed instance Added final where appropriate and limited plugin variable scope in invoke method. Related to PR #226

[GitHub] groovy pull request: GROOVY-7150 - Redirection of output in javax....

2016-01-01 Thread jwagenleitner
Github user jwagenleitner commented on a diff in the pull request: https://github.com/apache/groovy/pull/230#discussion_r48680741 --- Diff: subprojects/groovy-jsr223/src/main/java/org/codehaus/groovy/jsr223/GroovyScriptEngineImpl.java --- @@ -275,6 +238,19 @@ public Object

[GitHub] groovy pull request: GROOVY-7150 - Redirection of output in javax....

2016-01-01 Thread jwagenleitner
GitHub user jwagenleitner opened a pull request: https://github.com/apache/groovy/pull/230 GROOVY-7150 - Redirection of output in javax.script.ScriptEngine.invokeFunction() doesn't work Instead of adding `context` and `out` to the engine context this change provides access

[GitHub] groovy pull request: GROOVY-7716 - groovy.json.internal.FastString...

2015-12-26 Thread jwagenleitner
GitHub user jwagenleitner opened a pull request: https://github.com/apache/groovy/pull/225 GROOVY-7716 - groovy.json.internal.FastStringUtils fails on jdk9 JDK 9 Compat Strings enhancement changed the internal representation of the value field from a char[] to a combination

[GitHub] groovy pull request: GROOVY-7709 - ConvertedClosure/ConvertedMap d...

2015-12-26 Thread jwagenleitner
GitHub user jwagenleitner opened a pull request: https://github.com/apache/groovy/pull/226 GROOVY-7709 - ConvertedClosure/ConvertedMap do not work with interface extending GroovyObject Just posting for discussion and acknowledge that there is probably a better fix and lots here

[GitHub] groovy pull request: GROOVY-7709 - ConvertedClosure/ConvertedMap d...

2015-12-26 Thread jwagenleitner
Github user jwagenleitner commented on a diff in the pull request: https://github.com/apache/groovy/pull/226#discussion_r48451502 --- Diff: src/main/org/codehaus/groovy/runtime/ConversionHandler.java --- @@ -189,4 +202,15 @@ public static boolean isCoreObjectMethod(Method method

[GitHub] groovy pull request: Removed unused Local ClassInfo cache objects ...

2015-12-22 Thread jwagenleitner
GitHub user jwagenleitner opened a pull request: https://github.com/apache/groovy/pull/222 Removed unused Local ClassInfo cache objects (ThreadLocalMapHandler and LocalMap) Related to PR #219, this removes unused ThreadLocal caching from ClassInfo. Because the `localMapRef

[GitHub] groovy pull request: GROOVY-7703 - Add support for Iterable with C...

2015-12-06 Thread jwagenleitner
GitHub user jwagenleitner opened a pull request: https://github.com/apache/groovy/pull/206 GROOVY-7703 - Add support for Iterable with Closure to JsonBuilder/StreamingJsonBuilder This applies similar changes from PR #203 to the JsonBuilder (non-Streaming) class. You can merge

<    1   2