Download
Getting Started
Members
Projects
Community
Marketplace
Events
Planet Eclipse
Newsletter
Videos
Participate
Report a Bug
Forums
Mailing Lists
Wiki
IRC
How to Contribute
Working Groups
Automotive
Internet of Things
LocationTech
Long-Term Support
PolarSys
Science
OpenMDM
More
Community
Marketplace
Events
Planet Eclipse
Newsletter
Videos
Participate
Report a Bug
Forums
Mailing Lists
Wiki
IRC
How to Contribute
Working Groups
Automotive
Internet of Things
LocationTech
Long-Term Support
PolarSys
Science
OpenMDM
Toggle navigation
Bugzilla – Attachment 272571 Details for
Bug 530846
ClassCastException: java.lang.String cannot be cast to javax.xml.namespace.QName
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
Log In
[x]
|
Terms of Use
|
Copyright Agent
Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read
this important communication.
Test java sorce
Main.java (text/plain), 540 bytes, created by
Kirill Golovin
on 2018-02-07 10:32:09 EST
(
hide
)
Description:
Test java sorce
Filename:
MIME Type:
Creator:
Kirill Golovin
Created:
2018-02-07 10:32:09 EST
Size:
540 bytes
patch
obsolete
> > >import java.util.HashMap; >import java.util.Map; > >import javax.xml.namespace.QName; > >public class Main { > static Map<String, String> map = new HashMap<>(); > static Map<QName, String> ports = new HashMap<QName, String>(); > > public static void main(String[] args) { > > for(Map.Entry<QName, String> port : ((Map<QName, String>)getMap()).entrySet()) { > ports.put(port.getKey(), port.getValue()); > } > } > > public static Map getMap() { > map.put("test_key", "test_value"); > return map; > } >}
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Raw
Actions:
View
Attachments on
bug 530846
: 272571