diff options
Diffstat (limited to 'lib/javacomp.h')
-rw-r--r-- | lib/javacomp.h | 15 |
1 files changed, 12 insertions, 3 deletions
diff --git a/lib/javacomp.h b/lib/javacomp.h index f7e977df70..3d0a02d615 100644 --- a/lib/javacomp.h +++ b/lib/javacomp.h @@ -28,7 +28,10 @@ 1.3 inner classes 1.4 assert keyword 1.5 generic classes and methods - 1.6 (not yet supported) + 1.6 (not supported) + 1.7 switch(string) + 1.8 lambdas + 1.9 private interface methods target_version can be: classfile version: 1.1 45.3 1.2 46.0 @@ -36,6 +39,9 @@ 1.4 48.0 1.5 49.0 1.6 50.0 + 1.7 51.0 + 1.8 52.0 + 1.9 53.0 target_version can also be given as NULL. In this case, the required target_version is determined from the found JVM (see javaversion.h). Specifying target_version is useful when building a library (.jar) that is @@ -44,8 +50,11 @@ It is unreasonable to ask for: - target_version < 1.4 with source_version >= 1.4, or - target_version < 1.5 with source_version >= 1.5, or - - target_version < 1.6 with source_version >= 1.6, - because even Sun's javac doesn't support these combinations. + - target_version < 1.6 with source_version >= 1.6, or + - target_version < 1.7 with source_version >= 1.7, or + - target_version < 1.8 with source_version >= 1.8, or + - target_version < 1.9 with source_version >= 1.9, + because even Sun's/Oracle's javac doesn't support these combinations. It is redundant to ask for a target_version > source_version, since the smaller target_version = source_version will also always work and newer JVMs support the older target_versions too. Except for the case |