Skip to main content
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBrian Vosburgh2016-07-25 14:14:36 +0000
committerBrian Vosburgh2017-05-18 22:38:18 +0000
commit45c0a7365491b1c2054b56ccf05d3da37a3924aa (patch)
tree539426f7176512c3095defb2b1afe33cb4079e07
parentfe3d5f806873233f410fa3293b6bd36ffbec9fda (diff)
downloadwebtools.dali-45c0a7365491b1c2054b56ccf05d3da37a3924aa.tar.gz
webtools.dali-45c0a7365491b1c2054b56ccf05d3da37a3924aa.tar.xz
webtools.dali-45c0a7365491b1c2054b56ccf05d3da37a3924aa.zip
Add JAXB support for JRE 1.8
-rw-r--r--jaxb/plugins/org.eclipse.jpt.jaxb.core/src/org/eclipse/jpt/jaxb/core/internal/libval/JaxbLibraryValidatorTools.java4
1 files changed, 2 insertions, 2 deletions
diff --git a/jaxb/plugins/org.eclipse.jpt.jaxb.core/src/org/eclipse/jpt/jaxb/core/internal/libval/JaxbLibraryValidatorTools.java b/jaxb/plugins/org.eclipse.jpt.jaxb.core/src/org/eclipse/jpt/jaxb/core/internal/libval/JaxbLibraryValidatorTools.java
index 03217f7857..1b9bbac844 100644
--- a/jaxb/plugins/org.eclipse.jpt.jaxb.core/src/org/eclipse/jpt/jaxb/core/internal/libval/JaxbLibraryValidatorTools.java
+++ b/jaxb/plugins/org.eclipse.jpt.jaxb.core/src/org/eclipse/jpt/jaxb/core/internal/libval/JaxbLibraryValidatorTools.java
@@ -133,8 +133,8 @@ public class JaxbLibraryValidatorTools {
if (vm instanceof IVMInstall2) {
String javaVersion = ((IVMInstall2) vm).getJavaVersion();
if (javaVersion != null) {
- // all other versions except 1.7 and 1.6 have no corresponding version (as of yet)
- if (javaVersion.startsWith(JavaCore.VERSION_1_7)) {
+ // versions earlier than 1.6 have no corresponding version (as of yet)
+ if (javaVersion.startsWith(JavaCore.VERSION_1_7) || javaVersion.startsWith(JavaCore.VERSION_1_8)) {
return FACET_VERSION_2_2;
}
// 1.6 must be further analyzed

Back to the top