Skip to content

Commit b7dd139

Browse files
committed
java.lang.Class implemented
1 parent 0ccef27 commit b7dd139

File tree

1 file changed

+2
-10
lines changed
  • sources/net.sf.j2s.java.core/src/java/lang

1 file changed

+2
-10
lines changed

sources/net.sf.j2s.java.core/src/java/lang/Class.java

Lines changed: 2 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -888,16 +888,8 @@ public Class<? super T> getSuperclass() {
888888
* @since JDK1.1
889889
*/
890890
public Class<?> getComponentType() {
891-
// Arrays have this method via Clazz.newArray$
892-
/**
893-
* @j2sNative
894-
*
895-
* return(this.$clazz$.__ARRAYTYPE && this.$class$.getComponentType() || null);
896-
*
897-
*/
898-
{
899-
return null;
900-
}
891+
// Array classes have this method added via Clazz.arrayClass$()
892+
return null;
901893
}
902894

903895
/**

0 commit comments

Comments
 (0)