-
Bug
-
Resolution: Incomplete
-
P4
-
None
-
8u192
-
x86_64
-
linux
ADDITIONAL SYSTEM INFORMATION :
Testing on RaspberryPi B+
A DESCRIPTION OF THE PROBLEM :
Throw exception java.lang.NoClassDefFoundError: java/lang/AbrayIndexOutOfBgundsException
when run this code:
public class Pi {
public static void main(String[] args) {
class A {
int i;
public int getI() {
return i;
}
public void setI(int i) {
this.i = i;
}
}
STEPS TO FOLLOW TO REPRODUCE THE PROBLEM :
Just run this code:
import java.beans.BeanInfo;
import java.beans.IntrospectionException;
import java.beans.Introspector;
public class Pi {
public static void main(String[] args) {
class A {
int i;
public int getI() {
return i;
}
public void setI(int i) {
this.i = i;
}
}
try {
BeanInfo beanInfo = Introspector.getBeanInfo(A.class, Object.class);
} catch (IntrospectionException e) {
e.printStackTrace();
}
}
}
ACTUAL -
Exception in thread "main" java.lang.NoClassDefFoundError: java/lang/AbrayIndexOutOfBgundsException
at sun.reflect.generics.parser.SignatureParser.current(SignatureParser.java:95)
at sun.reflect.generics.parser.SignatureParser.parseSuperInterfaces(SignatureParser.java:559)
at sun.reflect.generics.parser.SignatureParser.parseClassSignature(SignatureParser.java:214)
at sun.reflect.generics.parser.SignatureParser.parseClassSig(SignatureParser.java:156)
at sun.reflect.generics.repository.ClassRepository.parse(ClassRepository.java:57)
at sun.reflect.generics.repository.ClassRepository.parse(ClassRepository.java:41)
at sun.reflect.generics.repository.AbstractRepository.<init>(AbstractRepository.java:74)
at sun.reflect.generics.repository.GenericDeclRepository.<init>(GenericDeclRepository.java:49)
at sun.reflect.generics.repository.ClassRepository.<init>(ClassRepository.java:53)
at sun.reflect.generics.repository.ClassRepository.make(ClassRepository.java:70)
at sun.reflect.generics.repository.ClassRepository.<clinit>(ClassRepository.java:43)
at java.lang.Class.getGenericInfo(Class.java:2546)
at java.lang.Class.getGenericInterfaces(Class.java:912)
at com.sun.beans.finder.MethodFinder.findAccessibleMethod(MethodFinder.java:143)
at java.beans.Introspector.getPublicDeclaredMethods(Introspector.java:1344)
at java.beans.Introspector.getTargetMethodInfo(Introspector.java:1197)
at java.beans.Introspector.getBeanInfo(Introspector.java:426)
at java.beans.Introspector.getBeanInfo(Introspector.java:262)
at java.beans.Introspector.getBeanInfo(Introspector.java:224)
---------- BEGIN SOURCE ----------
import java.beans.BeanInfo;
import java.beans.IntrospectionException;
import java.beans.Introspector;
public class Pi {
public static void main(String[] args) {
class A {
int i;
public int getI() {
return i;
}
public void setI(int i) {
this.i = i;
}
}
try {
BeanInfo beanInfo = Introspector.getBeanInfo(A.class, Object.class);
} catch (IntrospectionException e) {
e.printStackTrace();
}
}
}
---------- END SOURCE ----------
FREQUENCY : always
Testing on RaspberryPi B+
A DESCRIPTION OF THE PROBLEM :
Throw exception java.lang.NoClassDefFoundError: java/lang/AbrayIndexOutOfBgundsException
when run this code:
public class Pi {
public static void main(String[] args) {
class A {
int i;
public int getI() {
return i;
}
public void setI(int i) {
this.i = i;
}
}
STEPS TO FOLLOW TO REPRODUCE THE PROBLEM :
Just run this code:
import java.beans.BeanInfo;
import java.beans.IntrospectionException;
import java.beans.Introspector;
public class Pi {
public static void main(String[] args) {
class A {
int i;
public int getI() {
return i;
}
public void setI(int i) {
this.i = i;
}
}
try {
BeanInfo beanInfo = Introspector.getBeanInfo(A.class, Object.class);
} catch (IntrospectionException e) {
e.printStackTrace();
}
}
}
ACTUAL -
Exception in thread "main" java.lang.NoClassDefFoundError: java/lang/AbrayIndexOutOfBgundsException
at sun.reflect.generics.parser.SignatureParser.current(SignatureParser.java:95)
at sun.reflect.generics.parser.SignatureParser.parseSuperInterfaces(SignatureParser.java:559)
at sun.reflect.generics.parser.SignatureParser.parseClassSignature(SignatureParser.java:214)
at sun.reflect.generics.parser.SignatureParser.parseClassSig(SignatureParser.java:156)
at sun.reflect.generics.repository.ClassRepository.parse(ClassRepository.java:57)
at sun.reflect.generics.repository.ClassRepository.parse(ClassRepository.java:41)
at sun.reflect.generics.repository.AbstractRepository.<init>(AbstractRepository.java:74)
at sun.reflect.generics.repository.GenericDeclRepository.<init>(GenericDeclRepository.java:49)
at sun.reflect.generics.repository.ClassRepository.<init>(ClassRepository.java:53)
at sun.reflect.generics.repository.ClassRepository.make(ClassRepository.java:70)
at sun.reflect.generics.repository.ClassRepository.<clinit>(ClassRepository.java:43)
at java.lang.Class.getGenericInfo(Class.java:2546)
at java.lang.Class.getGenericInterfaces(Class.java:912)
at com.sun.beans.finder.MethodFinder.findAccessibleMethod(MethodFinder.java:143)
at java.beans.Introspector.getPublicDeclaredMethods(Introspector.java:1344)
at java.beans.Introspector.getTargetMethodInfo(Introspector.java:1197)
at java.beans.Introspector.getBeanInfo(Introspector.java:426)
at java.beans.Introspector.getBeanInfo(Introspector.java:262)
at java.beans.Introspector.getBeanInfo(Introspector.java:224)
---------- BEGIN SOURCE ----------
import java.beans.BeanInfo;
import java.beans.IntrospectionException;
import java.beans.Introspector;
public class Pi {
public static void main(String[] args) {
class A {
int i;
public int getI() {
return i;
}
public void setI(int i) {
this.i = i;
}
}
try {
BeanInfo beanInfo = Introspector.getBeanInfo(A.class, Object.class);
} catch (IntrospectionException e) {
e.printStackTrace();
}
}
}
---------- END SOURCE ----------
FREQUENCY : always