Static code inspection complains the enum below is unused.
diff -r 13fdf97f0a8f src/hotspot/share/opto/callGenerator.hpp
--- a/src/hotspot/share/opto/callGenerator.hpp Mon Aug 24 09:35:23 2020 +0200
+++ b/src/hotspot/share/opto/callGenerator.hpp Tue Aug 25 09:23:47 2020 +0200
@@ -34,15 +34,10 @@
//---------------------------CallGenerator-------------------------------------
// The subclasses of this class handle generation of ideal nodes for
// call sites and method entry points.
class CallGenerator : public ResourceObj {
- public:
- enum {
- xxxunusedxxx
- };
-
private:
ciMethod* _method; // The method being called.
protected:
CallGenerator(ciMethod* method) : _method(method) {}
diff -r 13fdf97f0a8f src/hotspot/share/opto/callGenerator.hpp
--- a/src/hotspot/share/opto/callGenerator.hpp Mon Aug 24 09:35:23 2020 +0200
+++ b/src/hotspot/share/opto/callGenerator.hpp Tue Aug 25 09:23:47 2020 +0200
@@ -34,15 +34,10 @@
//---------------------------CallGenerator-------------------------------------
// The subclasses of this class handle generation of ideal nodes for
// call sites and method entry points.
class CallGenerator : public ResourceObj {
- public:
- enum {
- xxxunusedxxx
- };
-
private:
ciMethod* _method; // The method being called.
protected:
CallGenerator(ciMethod* method) : _method(method) {}