| Summary: | org.libvirt.Domain constants with package only access despite use in public API | ||
|---|---|---|---|
| Product: | [Community] Virtualization Tools | Reporter: | bugzilla.redhat.com.3632 |
| Component: | libvirt-java | Assignee: | Libvirt Maintainers <libvirt-maint> |
| Status: | NEW --- | QA Contact: | |
| Severity: | low | Docs Contact: | |
| Priority: | unspecified | ||
| Version: | unspecified | CC: | claudio.bley, crobinso |
| Target Milestone: | --- | ||
| Target Release: | --- | ||
| Hardware: | All | ||
| OS: | All | ||
| Whiteboard: | |||
| Fixed In Version: | Doc Type: | Bug Fix | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | Type: | Bug | |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
|
Description
bugzilla.redhat.com.3632
2016-03-04 14:16:40 UTC
See http://libvirt.org/git/?p=libvirt-java.git;a=blob;f=src/main/java/org/libvirt/Domain.java;h=ee26a95fa468c115777c8dacd8754eb447071fc5;hb=5d84874d99ee399276873fb52625303ec3a3f396#l33 and http://libvirt.org/git/?p=libvirt-java.git;a=blob;f=src/main/java/org/libvirt/Connect.java;h=b3e29be75d1f77200c983dbbba0c77a0f8b4083e;hb=5d84874d99ee399276873fb52625303ec3a3f396#l284 Ah sorry, it's Connect->domainCreateXML. CCing Claudio Bley who is the libvirt-java maintainer Might also be a good idea to use enums for those constants such that Java IDE's can find them automatically and suggest them to the user. Yes, this has been a thorn in my side for quite some time. And yes, I want to use Enums. (https://www.redhat.com/archives/libvir-list/2014-March/msg01436.html) I'll see that I get something together during the next week. |