diff options
author | Sven Gothel <[email protected]> | 2019-08-19 20:38:45 +0200 |
---|---|---|
committer | Sven Gothel <[email protected]> | 2019-08-19 20:38:45 +0200 |
commit | 3068420e778909e75edbed8ffd17c49c95b6e4c2 (patch) | |
tree | 6d526727095fb2066b5577476e4cf13149efd325 /src/java/com | |
parent | 2d89df89453c099d4e357aa17eae88efcf1d1b70 (diff) |
Bug 1363: Java 11: Revert CStructAnnotationProcessor's @SupportedSourceVersion back to 11
Behold, the issue as documented at commit 2d89df89453c099d4e357aa17eae88efcf1d1b70,
one build machine failing to compile SourceVersion.RELEASE_11
was due to an incomplete installation of openjdk-11-jdk on Debian GNU/Linux. Wow.
I have re-installed the openjdk-11-jre and openjdk-11-jdk packages on said machine,
ensured they are being used .. and it works.
Another note here regarding usage of OpenJDK11 compile time environment
and Java8 target. If using Eclipse, I had to set the system runtime JDK to JDK 8.
Otherwise the 'editor clean-up' jobs would run against the JDK 11
classes and wrongly so change certain type castings etc, incompatible with Java 8.
If anybody knows a solution here .. shoot.
Diffstat (limited to 'src/java/com')
-rw-r--r-- | src/java/com/jogamp/gluegen/structgen/CStructAnnotationProcessor.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/java/com/jogamp/gluegen/structgen/CStructAnnotationProcessor.java b/src/java/com/jogamp/gluegen/structgen/CStructAnnotationProcessor.java index 503b05f..45293f8 100644 --- a/src/java/com/jogamp/gluegen/structgen/CStructAnnotationProcessor.java +++ b/src/java/com/jogamp/gluegen/structgen/CStructAnnotationProcessor.java @@ -85,7 +85,7 @@ import jogamp.common.Debug; * @author Michael Bien, et al. */ @SupportedAnnotationTypes(value = {"com.jogamp.gluegen.structgen.CStruct", "com.jogamp.gluegen.structgen.CStructs"}) -@SupportedSourceVersion(SourceVersion.RELEASE_8) +@SupportedSourceVersion(SourceVersion.RELEASE_11) public class CStructAnnotationProcessor extends AbstractProcessor { private static final String DEFAULT = "_default_"; static final boolean DEBUG; |