apache / apache/grails-intellij-plugin
Grails. Old sources are used after updating dependency version.
- Dominant language
- Java
- Stars
- 17
- Forks
- 4
- Avg merge
- 5d 15h
- Merged PRs (30d)
- 4
Description
The sample project is Grails, here are the steps I did:
1. Create Grails project
2. Add commons-lang3 to 3. 8. 1 into BuildConfig.groovy
3. Open class CharSequenceTranslator.java and download source
4. Change commons-lang3 from 3.8.1 to 3. 3. 1 in BuildConfig.grooy
5. Go to CharSequenceTranslator.java again in the editor, it still links to 3.8.1 with error message “Library source does not match the bytecode for class CharSequenceTranslator” on the top of the editor
---
*Imported from [IDEA-243705](https://youtrack.jetbrains.com/issue/IDEA-243705) · Type: Bug · Votes: 0*
*Comments, attachments, dates and reporter are not part of the export — follow the link above for the full history.*
Contributor guide
No contributing guide indexed for this repository
Research direction
Reproduce the Grails sample project using BuildConfig.groovy, first with commons-lang3 3.8.1 and then with 3.3.1, and inspect CharSequenceTranslator.java in the editor after downloading its source. Trace how the plugin refreshes dependency sources after the version change; done means the editor uses the 3.3.1 source without the bytecode mismatch warning.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- groovy, java
- Domain
- build-system, devtools
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Active
- Clarity
- Mostly clear
- Newbie friendliness
- 55/100