-
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
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