-
New Feature
-
Resolution: Fixed
-
Minor
-
None
When determining if an instance of a parameter needs a simple name or a FQCN, the JENKINS-43337 fix uses the erased type of the parameter which will fail for the cases where the parameter is a container parameter such as a List or Array, instead the erased type of the container's generic parameter should be used as there will be no instances of type `List` or `[]` so the simple name will be used always
- is related to
-
JENKINS-43337 Snippet generator: Wrong snippet for Throttle Build
-
- Resolved
-
- links to
[JENKINS-45130] When ambiguous classes are in a list / array they are given their simple name not FQCN
Link |
New:
This issue is related to |
Remote Link | New: This issue links to "PR#22 (Web Link)" [ 17176 ] |
Resolution | New: Fixed [ 1 ] | |
Status | Original: Open [ 1 ] | New: Resolved [ 5 ] |
Status | Original: Resolved [ 5 ] | New: Closed [ 6 ] |
Code changed in jenkins
User: Stephen Connolly
Path:
plugin/src/test/java/org/jenkinsci/plugins/structs/describable/AbstractSharedName.java
plugin/src/test/java/org/jenkinsci/plugins/structs/describable/AmbiguousArrayContainer.java
plugin/src/test/java/org/jenkinsci/plugins/structs/describable/AmbiguousListContainer.java
plugin/src/test/java/org/jenkinsci/plugins/structs/describable/DescribableModelTest.java
plugin/src/test/java/org/jenkinsci/plugins/structs/describable/first/SharedName.java
plugin/src/test/java/org/jenkinsci/plugins/structs/describable/second/SharedName.java
http://jenkins-ci.org/commit/structs-plugin/d89586ea96d95602f6e5ce879c289e284b131cb6
Log:
JENKINS-45130Add tests to demonstrate issue