re PR classpath/32844 (EnumSet causes code to be miscompiled)
2007-07-31 Dalibor Topic <robilad@kaffe.org> PR 32844 * java/util/EnumSet.java: Made class abstract per API spec. (size, iterator, add, addAll, clear, contains, containsAll, remove, removeAll, retainAll) Moved into an anonymous inner class in of(T). (allOf, noneOf, copyOf, of, range) Made more implementation independent. (of(T)) return an instance of an anonymous class implementing EmptySet. From-SVN: r127291
This commit is contained in:
committed by
Matthias Klose
parent
5b6693af78
commit
473210a961
@@ -6,23 +6,25 @@
|
||||
|
||||
#pragma interface
|
||||
|
||||
#include <java/lang/Object.h>
|
||||
#include <java/util/EnumSet.h>
|
||||
|
||||
class java::util::EnumSet$1 : public ::java::lang::Object
|
||||
class java::util::EnumSet$1 : public ::java::util::EnumSet
|
||||
{
|
||||
|
||||
public: // actually package-private
|
||||
EnumSet$1(::java::util::EnumSet *);
|
||||
public:
|
||||
jboolean hasNext();
|
||||
::java::lang::Enum * EnumSet$1$next();
|
||||
void remove();
|
||||
::java::lang::Object * next();
|
||||
public: // actually package-private
|
||||
jint __attribute__((aligned(__alignof__( ::java::lang::Object)))) next__;
|
||||
jint count;
|
||||
::java::util::EnumSet * this$0;
|
||||
EnumSet$1();
|
||||
public:
|
||||
jboolean EnumSet$1$add(::java::lang::Enum *);
|
||||
jboolean addAll(::java::util::Collection *);
|
||||
void clear();
|
||||
jboolean contains(::java::lang::Object *);
|
||||
jboolean containsAll(::java::util::Collection *);
|
||||
::java::util::Iterator * iterator();
|
||||
jboolean remove(::java::lang::Object *);
|
||||
jboolean removeAll(::java::util::Collection *);
|
||||
jboolean retainAll(::java::util::Collection *);
|
||||
jint size();
|
||||
jboolean add(::java::lang::Object *);
|
||||
static ::java::lang::Class class$;
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user