Modify ↓
Opened 13 years ago
Closed 13 years ago
#7610 closed defect (fixed)
Plugin wikipedia does not compile
Reported by: | stoecker | Owned by: | simon04 |
---|---|---|---|
Priority: | normal | Milestone: | |
Component: | Plugin wikipedia | Version: | |
Keywords: | Cc: |
Description
The Plugin uses Java7 code and does not compile with JAVA 6.
Attachments (0)
Change History (3)
comment:1 by , 13 years ago
comment:2 by , 13 years ago
[echo] compiling sources for ../../dist/wikipedia.jar ... [javac] /home/stoecker/josm/plugins/wikipedia/build.xml:60: warning: 'includeantruntime' was not set, defaulting to build.sysclasspath=last; set to false for repeatable builds [javac] Compiling 1 source file to /home/stoecker/josm/plugins/wikipedia/build [javac] WikipediaToggleDialog.java:51: type javax.swing.DefaultListModel does not take parameters [javac] final DefaultListModel<WikipediaEntry> model = new DefaultListModel<WikipediaEntry>(); [javac] ^ [javac] WikipediaToggleDialog.java:52: type javax.swing.JList does not take parameters [javac] final JList<WikipediaEntry> list = new JList<WikipediaEntry>(model) { [javac] ^ [javac] WikipediaToggleDialog.java:51: type javax.swing.DefaultListModel does not take parameters [javac] final DefaultListModel<WikipediaEntry> model = new DefaultListModel<WikipediaEntry>(); [javac] ^ [javac] WikipediaToggleDialog.java:52: type javax.swing.JList does not take parameters [javac] final JList<WikipediaEntry> list = new JList<WikipediaEntry>(model) { [javac] ^ [javac] 4 errors
Note:
See TracTickets
for help on using tickets.
Would you attach the compile error to make searching easier, please?