For a class contained in a package, eg. "pack.e",
invoking javap with simple name used to result in error with old javap.
jtools-sqe:/home/vr128054/javap-test/pack 79 % javap e
Error: Binary file 'e' contains pack.e
But presently, the javap accepts and dissembles class 'e' when doing,
jtools-sqe:/home/vr128054/javap-test/pack 141 % javap e
Compiled from "E.java"
class pack.e extends java.lang.Object{
pack.e();
}
This behaviour might be helpful, but it would clarify better if a warning is issued.
invoking javap with simple name used to result in error with old javap.
jtools-sqe:/home/vr128054/javap-test/pack 79 % javap e
Error: Binary file 'e' contains pack.e
But presently, the javap accepts and dissembles class 'e' when doing,
jtools-sqe:/home/vr128054/javap-test/pack 141 % javap e
Compiled from "E.java"
class pack.e extends java.lang.Object{
pack.e();
}
This behaviour might be helpful, but it would clarify better if a warning is issued.
- relates to
-
JDK-6715753 unknown option error can be a little more helpful
-
- Closed
-