Skip to content

Commit b101fa8

Browse files
committed
GH-306 use correct application name
1 parent 25181f9 commit b101fa8

File tree

1 file changed

+18
-0
lines changed

1 file changed

+18
-0
lines changed

visualvm/build-nb.sh

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,24 @@ git reset --hard $REV
2929
git revert --no-edit -n d55be1aff900a81b22081f7699fd16ab04e42553
3030
git restore --staged .github/ apisupport/ harness/ platform/
3131
patch -p1 <<'EOF'
32+
diff --git a/platform/keyring.impl/src/org/netbeans/modules/keyring/impl/KeyringSupport.java b/platform/keyring.impl/src/org/netbeans/modules/keyring/impl/KeyringSupport.java
33+
index 23393533ab..ae62351657 100644
34+
--- a/platform/keyring.impl/src/org/netbeans/modules/keyring/impl/KeyringSupport.java
35+
+++ b/platform/keyring.impl/src/org/netbeans/modules/keyring/impl/KeyringSupport.java
36+
@@ -21,11 +21,11 @@ package org.netbeans.modules.keyring.impl;
37+
public class KeyringSupport {
38+
39+
public static String getAppName() {
40+
- return "NetBeans IDE";
41+
+ return "VisualVM";
42+
}
43+
44+
public static String getAppNameMac() {
45+
- return "NetBeans";
46+
+ return "VisualVM";
47+
}
48+
49+
}
3250
diff --git a/platform/o.n.swing.laf.flatlaf/src/org/netbeans/swing/laf/flatlaf/FlatLaf.properties b/platform/o.n.swing.laf.flatlaf/src/org/netbeans/swing/laf/flatlaf/FlatLaf.properties
3351
index e72a2ab534..450a437731 100644
3452
--- a/platform/o.n.swing.laf.flatlaf/src/org/netbeans/swing/laf/flatlaf/FlatLaf.properties

0 commit comments

Comments
 (0)