Duplicate :
|
|
Relates :
|
|
Relates :
|
|
Relates :
|
|
Relates :
|
|
Relates :
|
When -source 8 and -target 8 were added to javac (JDK-7025786), they were just aliases for -source/target 7 and in particular -target 8 generated the same version 51.0 class files as -target 7. As soon as version 52.0 class files are supported in HotSpot (JDK-7054340), javac should change the meaning of -target 8 to generate version 52.0 class files.