[MDSAL-184] Java binding v1: typedef String hides java.lang.String Created: 06/Jul/16  Updated: 09/Mar/18  Resolved: 22/Aug/16

Status: Resolved
Project: mdsal
Component/s: None
Affects Version/s: None
Fix Version/s: None

Type: Bug
Reporter: Vratko Polak Assignee: Vratko Polak
Resolution: Done Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified
Environment:

Operating System: All
Platform: All


External issue ID: 6165

 Description   

Test Yang module to follow shortly.
The fix would be to generate code with explicit "java.lang.String" where needed.



 Comments   
Comment by Vratko Polak [ 06/Jul/16 ]

Test Yang model: https://git.opendaylight.org/gerrit/41407

Fix attempt to follow shortly.

Comment by Vratko Polak [ 06/Jul/16 ]

Proposed fix: https://git.opendaylight.org/gerrit/41408

Comment by Vratko Polak [ 06/Jul/16 ]

Aside of the symptom exposed by the patch set 1 of the test yang change (in $YangModuleInfoImpl), there is another symptom in interaction with enum.
Example model: https://git.opendaylight.org/gerrit/#/c/41407/2

The second symptom needs separate fix, but it fits description of This Bug, so it is not reported separately.

Comment by Vratko Polak [ 06/Jul/16 ]

This should fix both symptoms:
https://git.opendaylight.org/gerrit/#/c/41408/2

Comment by Vratko Polak [ 07/Jul/16 ]

> 41408/2

Waiting for review.

Comment by Vratko Polak [ 22/Aug/16 ]

Merged to master (Boron and Carbon): https://git.opendaylight.org/gerrit/41408

Beryllium does not include fix for https://bugs.opendaylight.org/show_bug.cgi?id=2872
so this Bug maybe does not happen here (has to be verified).

Generated at Wed Feb 07 20:08:54 UTC 2024 using Jira 8.20.10#820010-sha1:ace47f9899e9ee25d7157d59aa17ab06aee30d3d.