playframework / playframework/play1
Add documentation about The shorthand method _(String className) to load a class in Groovy
Nobody has claimed this yet.
- Dominant language
- Java
- Stars
- 1.6k
- Forks
- 671
- Avg merge
- 12d 15h
- Merged PRs (30d)
- 1
Description
I also wanted to precise the following migration notes :
The shorthand method _(String className) to load a class in Groovy templates has been removed since the underscore is now a reserved keyword in JDK9 and later versions. Please use the method __loadClass(String className) instead
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
No documentation file or test is named in the issue. First locate the migration notes covering Groovy templates, then verify the wording against the stated change from _(String className) to __loadClass(String className). Done means the migration note clearly explains the JDK 9 underscore restriction and replacement method.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- groovy, java
- Domain
- documentation
- Issue type
- Documentation
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 45/100