Mark Thomas schrieb:
Rainer Jung wrote:
when I saw your commit, I asked myself "What's the original error
message" because we shouldn't overwrite any other information that's
helpful.
The error message (currently) isn't that helpful but your patch is good
in that it allows us to make use of the error message it it ever is
useful. I'll update my proposed patch.
Thanks.
In fact depending on the JVM, there are a couple of messages an ucve can
contain. Not sure, which ones apply in this situation. In the Sun VM
there are at least:
1.6:
- Unsupported major.minor version MAJOR.MINOR
- CLASSNAME : Unsupported major.minor version MAJOR.MINOR
- version numbers of class are not supported
1.5 (yes, it seems to output less info, than 1.6 and 1.4.2):
- Bad version number in .class file
- version numbers of class are not supported
1.4.2:
- Unsupported major.minor version MAJOR.MINOR
- CLASSNAME (Unsupported major.minor version MAJOR.MINOR)
- version numbers of class are not supported
So sometimes there is more info available, and it also may depend on the
VM, because the messages are not standardized (at least not that I'm
aware of). In view of the above messages and their differences for the
different JVM versions, our fix could be seen as a workaround for a JVM
1.5 bug ;)
Regards,
Rainer
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]