Skip to content

Commit 4aebef5

Browse files
committed
GH-350 detect 'Apache' as prefix to 'NetBeans IDE'
1 parent 3399234 commit 4aebef5

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

visualvm/application/src/org/graalvm/visualvm/application/type/NetBeansApplicationType.java

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -137,6 +137,8 @@ private String getVersionFromSysProps(Properties properties) {
137137

138138
if (versionString != null) {
139139
Scanner s = new Scanner(versionString);
140+
141+
if (s.hasNext("Apache")) s.next(); // NOI18N
140142
if ("NetBeans".equals(s.next())) { // NOI18N
141143
if ("IDE".equals(s.next())) { // NOI18N
142144
return s.next();

0 commit comments

Comments
 (0)