This is an automated email from the ASF dual-hosted git repository.

lkishalmi pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/netbeans.git

commit 1d6c743febd889a0ed23b655cc04543a6332e0ae
Author: Jesse Glick <jgl...@apache.org>
AuthorDate: Tue Aug 27 14:59:49 2019 -0400

    Display Class objects more helpfully.
---
 harness/o.n.insane/src/org/netbeans/insane/live/Path.java | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/harness/o.n.insane/src/org/netbeans/insane/live/Path.java 
b/harness/o.n.insane/src/org/netbeans/insane/live/Path.java
index bbf564f..244e40a 100644
--- a/harness/o.n.insane/src/org/netbeans/insane/live/Path.java
+++ b/harness/o.n.insane/src/org/netbeans/insane/live/Path.java
@@ -97,6 +97,8 @@ public final class Path {
             //         at 
org.netbeans.junit.NbTestCase.assertGC(NbTestCase.java:1171)
             //         at 
org.netbeans.modules.projectapi.AuxiliaryConfigBasedPreferencesProviderTest.testReclaimable(AuxiliaryConfigBasedPreferencesProviderTest.java:256)
             return "null";
+        } else if (obj instanceof Class) {
+            return obj.toString() + "@" + 
Integer.toHexString(System.identityHashCode(obj));
         }
         return obj.getClass().getName() + "@" + 
Integer.toHexString(System.identityHashCode(obj));
     }


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscr...@netbeans.apache.org
For additional commands, e-mail: commits-h...@netbeans.apache.org

For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists

Reply via email to