Opened 8 years ago
Closed 5 years ago
#447 closed defect (fixed)
manual: Compile to Java 5 Bytecode
Reported by: | Rurban | Owned by: | Mark Evenson |
---|---|---|---|
Priority: | major | Milestone: | 1.6.1 |
Component: | other | Version: | 1.5.0 |
Keywords: | docs | Cc: | |
Parent Tickets: |
Description
Since rc0 to 1.5.0 you removed one part of the outdated compile to Java 5 Bytecode,
but one headline still is "Compile to Java 5 Bytecode". It's now 6-8.
Please change to "Compile to Java Bytecode"
Change History (4)
comment:2 Changed 8 years ago by
Milestone: | → 1.6.0 |
---|---|
Owner: | set to Mark Evenson |
Status: | new → assigned |
Version: | → 1.5.0 |
comment:4 Changed 5 years ago by
Resolution: | → fixed |
---|---|
Status: | assigned → closed |
Correction:
Our compiler emits version 49.0 bytecode, corresponding to the Java 5 Standard Edition.
When we compile our Java source, the code emitted depends on what we set the javac target version to currently "1.6" by default corresponding to version 50.x bytecode of the Java 6 Standard Edition.
We have noted this in the manual as well as <https://abcl.org/trac/changeset/15214> hopefully clearing up this confusion.
The default target for the compilation is indeed Java 6 (see <https://gitlab.common-lisp.net/abcl/abcl/blob/master/build.xml#L202>), but we haven't implemented the Java 6 verification scheme introduced in bytecode 50.x. So, we are in a weird state where our compiler indeed emits "50.0" as the class format, but with the old ("original") bytecode verification present.
I need to investigate this a bit, but will change the headline in the User Manual to something more accurate when I decide what that statement should be.