Skip to content

Commit f84d9c4

Browse files
authored
Add support for GraalVM native images (#636)
Fixes #599
1 parent 01eb02b commit f84d9c4

File tree

3 files changed

+163
-6
lines changed

3 files changed

+163
-6
lines changed

rome/src/main/java/com/rometools/rome/feed/impl/CopyFromHelper.java

-6
Original file line numberDiff line numberDiff line change
@@ -29,15 +29,10 @@
2929
import java.util.Map.Entry;
3030
import java.util.Set;
3131

32-
import org.slf4j.Logger;
33-
import org.slf4j.LoggerFactory;
34-
3532
import com.rometools.rome.feed.CopyFrom;
3633

3734
public class CopyFromHelper {
3835

39-
private static final Logger LOG = LoggerFactory.getLogger(CopyFromHelper.class);
40-
4136
private static final Set<Class<?>> BASIC_TYPES = new HashSet<Class<?>>();
4237
private static final Object[] NO_PARAMS = new Object[0];
4338

@@ -93,7 +88,6 @@ public void copy(final Object target, final Object source) {
9388
}
9489

9590
} catch (final Exception e) {
96-
LOG.error("Error while copying object", e);
9791
throw new RuntimeException("Could not do a copyFrom " + e, e);
9892
}
9993

Original file line numberDiff line numberDiff line change
@@ -0,0 +1,148 @@
1+
[
2+
{
3+
"name": "com.rometools.rome.feed.module.DCModuleImpl",
4+
"queryAllPublicMethods": true,
5+
"allPublicMethods": true,
6+
"allPublicConstructors":true
7+
},
8+
{
9+
"name": "com.rometools.rome.feed.synd.impl.ConverterForAtom03",
10+
"allPublicConstructors":true
11+
},
12+
{
13+
"name": "com.rometools.rome.feed.synd.impl.ConverterForAtom10",
14+
"allPublicConstructors":true
15+
},
16+
{
17+
"name": "com.rometools.rome.feed.synd.impl.ConverterForRSS090",
18+
"allPublicConstructors":true
19+
},
20+
{
21+
"name": "com.rometools.rome.feed.synd.impl.ConverterForRSS091Netscape",
22+
"allPublicConstructors":true
23+
},
24+
{
25+
"name": "com.rometools.rome.feed.synd.impl.ConverterForRSS091Userland",
26+
"allPublicConstructors":true
27+
},
28+
{
29+
"name": "com.rometools.rome.feed.synd.impl.ConverterForRSS092",
30+
"allPublicConstructors":true
31+
},
32+
{
33+
"name": "com.rometools.rome.feed.synd.impl.ConverterForRSS093",
34+
"allPublicConstructors":true
35+
},
36+
{
37+
"name": "com.rometools.rome.feed.synd.impl.ConverterForRSS094",
38+
"allPublicConstructors":true
39+
},
40+
{
41+
"name": "com.rometools.rome.feed.synd.impl.ConverterForRSS10",
42+
"allPublicConstructors":true
43+
},
44+
{
45+
"name": "com.rometools.rome.feed.synd.impl.ConverterForRSS20",
46+
"allPublicConstructors":true
47+
},
48+
{
49+
"name": "com.rometools.rome.io.impl.Atom03Generator",
50+
"allPublicConstructors":true
51+
},
52+
{
53+
"name": "com.rometools.rome.io.impl.Atom03Parser",
54+
"allPublicConstructors":true
55+
},
56+
{
57+
"name": "com.rometools.rome.io.impl.Atom10Generator",
58+
"allPublicConstructors":true
59+
},
60+
{
61+
"name": "com.rometools.rome.io.impl.Atom10Parser",
62+
"allPublicConstructors":true
63+
},
64+
{
65+
"name": "com.rometools.rome.io.impl.DCModuleGenerator",
66+
"allPublicConstructors":true
67+
},
68+
{
69+
"name": "com.rometools.rome.io.impl.DCModuleParser",
70+
"allPublicConstructors":true
71+
},
72+
{
73+
"name": "com.rometools.rome.io.impl.RSS090Generator",
74+
"allPublicConstructors":true
75+
},
76+
{
77+
"name": "com.rometools.rome.io.impl.RSS090Parser",
78+
"allPublicConstructors":true
79+
},
80+
{
81+
"name": "com.rometools.rome.io.impl.RSS091NetscapeGenerator",
82+
"allPublicConstructors":true
83+
},
84+
{
85+
"name": "com.rometools.rome.io.impl.RSS091NetscapeParser",
86+
"allPublicConstructors":true
87+
},
88+
{
89+
"name": "com.rometools.rome.io.impl.RSS091UserlandGenerator",
90+
"allPublicConstructors":true
91+
},
92+
{
93+
"name": "com.rometools.rome.io.impl.RSS091UserlandParser",
94+
"allPublicConstructors":true
95+
},
96+
{
97+
"name": "com.rometools.rome.io.impl.RSS092Generator",
98+
"allPublicConstructors":true
99+
},
100+
{
101+
"name": "com.rometools.rome.io.impl.RSS092Parser",
102+
"allPublicConstructors":true
103+
},
104+
{
105+
"name": "com.rometools.rome.io.impl.RSS093Generator",
106+
"allPublicConstructors":true
107+
},
108+
{
109+
"name": "com.rometools.rome.io.impl.RSS093Parser",
110+
"allPublicConstructors":true
111+
},
112+
{
113+
"name": "com.rometools.rome.io.impl.RSS094Generator",
114+
"allPublicConstructors":true
115+
},
116+
{
117+
"name": "com.rometools.rome.io.impl.RSS094Parser",
118+
"allPublicConstructors":true
119+
},
120+
{
121+
"name": "com.rometools.rome.io.impl.RSS10Generator",
122+
"allPublicConstructors":true
123+
},
124+
{
125+
"name": "com.rometools.rome.io.impl.RSS10Parser",
126+
"allPublicConstructors":true
127+
},
128+
{
129+
"name": "com.rometools.rome.io.impl.RSS20Generator",
130+
"allPublicConstructors":true
131+
},
132+
{
133+
"name": "com.rometools.rome.io.impl.RSS20Parser",
134+
"allPublicConstructors":true
135+
},
136+
{
137+
"name": "com.rometools.rome.io.impl.RSS20wNSParser",
138+
"allPublicConstructors":true
139+
},
140+
{
141+
"name": "com.rometools.rome.io.impl.SyModuleGenerator",
142+
"allPublicConstructors":true
143+
},
144+
{
145+
"name": "com.rometools.rome.io.impl.SyModuleParser",
146+
"allPublicConstructors":true
147+
}
148+
]
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
{
2+
"resources": {
3+
"includes": [
4+
{
5+
"pattern": "\\Qcom/rometools/rome/rome.properties\\E"
6+
},
7+
{
8+
"pattern": "\\Qrome.properties\\E"
9+
},
10+
{
11+
"pattern": "\\Qcom/rometools/modules/base/io/tags.properties\\E"
12+
}
13+
]
14+
}
15+
}

0 commit comments

Comments
 (0)