[jira] [Updated] (GROOVY-8962) Provide an option to generate Java stubs in memory for better compilation performance

2019-01-18 Thread Daniel Sun (JIRA)


 [ 
https://issues.apache.org/jira/browse/GROOVY-8962?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Daniel Sun updated GROOVY-8962:
---
Description: 
See 
http://groovy.329449.n5.nabble.com/PROPOSAL-Provide-an-option-to-generate-stubs-in-in-momery-file-system-for-better-compiling-performane-tt5756151.html

A better implementation is found, no 3rd-party lib is required.

> Provide an option to generate Java stubs in memory for better compilation 
> performance
> -
>
> Key: GROOVY-8962
> URL: https://issues.apache.org/jira/browse/GROOVY-8962
> Project: Groovy
>  Issue Type: Improvement
>Reporter: Daniel Sun
>Assignee: Daniel Sun
>Priority: Major
> Fix For: 3.0.0-alpha-5
>
>  Time Spent: 10m
>  Remaining Estimate: 0h
>
> See 
> http://groovy.329449.n5.nabble.com/PROPOSAL-Provide-an-option-to-generate-stubs-in-in-momery-file-system-for-better-compiling-performane-tt5756151.html
> A better implementation is found, no 3rd-party lib is required.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)


[jira] [Commented] (GROOVY-8962) Provide an option to generate Java stubs in memory for better compilation performance

2019-01-18 Thread Daniel Sun (JIRA)


[ 
https://issues.apache.org/jira/browse/GROOVY-8962?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16746575#comment-16746575
 ] 

Daniel Sun commented on GROOVY-8962:


The proposed PR is ready to review.
P.S. merged in 72 hours if no one rejects.

> Provide an option to generate Java stubs in memory for better compilation 
> performance
> -
>
> Key: GROOVY-8962
> URL: https://issues.apache.org/jira/browse/GROOVY-8962
> Project: Groovy
>  Issue Type: Improvement
>Reporter: Daniel Sun
>Assignee: Daniel Sun
>Priority: Major
> Fix For: 3.0.0-alpha-5
>
>  Time Spent: 10m
>  Remaining Estimate: 0h
>




--
This message was sent by Atlassian JIRA
(v7.6.3#76005)


[GitHub] danielsun1106 opened a new pull request #855: GROOVY-8962: Provide an option to generate Java stubs in memory for b…

2019-01-18 Thread GitBox
danielsun1106 opened a new pull request #855: GROOVY-8962: Provide an option to 
generate Java stubs in memory for b…
URL: https://github.com/apache/groovy/pull/855
 
 
   …etter compilation performance


This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


With regards,
Apache Git Services


[jira] [Updated] (GROOVY-8962) Provide an option to generate Java stubs in memory for better compilation performance

2019-01-18 Thread Daniel Sun (JIRA)


 [ 
https://issues.apache.org/jira/browse/GROOVY-8962?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Daniel Sun updated GROOVY-8962:
---
Summary: Provide an option to generate Java stubs in memory for better 
compilation performance  (was: Provide an option to generate Java stubs in 
memory)

> Provide an option to generate Java stubs in memory for better compilation 
> performance
> -
>
> Key: GROOVY-8962
> URL: https://issues.apache.org/jira/browse/GROOVY-8962
> Project: Groovy
>  Issue Type: Improvement
>Reporter: Daniel Sun
>Assignee: Daniel Sun
>Priority: Major
> Fix For: 3.0.0-alpha-5
>
>




--
This message was sent by Atlassian JIRA
(v7.6.3#76005)


[jira] [Created] (GROOVY-8962) Provide an option to generate Java stubs in memory

2019-01-18 Thread Daniel Sun (JIRA)
Daniel Sun created GROOVY-8962:
--

 Summary: Provide an option to generate Java stubs in memory
 Key: GROOVY-8962
 URL: https://issues.apache.org/jira/browse/GROOVY-8962
 Project: Groovy
  Issue Type: Improvement
Reporter: Daniel Sun
Assignee: Daniel Sun
 Fix For: 3.0.0-alpha-5






--
This message was sent by Atlassian JIRA
(v7.6.3#76005)


[jira] [Created] (GROOVY-8961) Cannot pass generic list into explicit setter

2019-01-18 Thread Daniil Ovchinnikov (JIRA)
Daniil Ovchinnikov created GROOVY-8961:
--

 Summary: Cannot pass generic list into explicit setter
 Key: GROOVY-8961
 URL: https://issues.apache.org/jira/browse/GROOVY-8961
 Project: Groovy
  Issue Type: Bug
  Components: Static Type Checker
Affects Versions: 2.5.5
Reporter: Daniil Ovchinnikov


{code}
class GC {
void setStrings(List ss) {}
}

@groovy.transform.CompileStatic
void usage(GC gc) {
gc.strings = Collections.emptyList()
}
{code}

{noformat}
[Static type checking] - Cannot assign value of type java.util.List  to variable of type java.util.List 
 at line: 7, column: 5
{noformat}



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)