Fixed bug 491576: Info severity not shown for 'No strictly compatible
JRE...' option
Change-Id: I7ad4082a7b79ce5112dafd2751c834880df74f37
Signed-off-by: Noopur Gupta <noopur_gupta@in.ibm.com>
diff --git a/org.eclipse.jdt.launching/launching/org/eclipse/jdt/internal/launching/EECompilationParticipant.java b/org.eclipse.jdt.launching/launching/org/eclipse/jdt/internal/launching/EECompilationParticipant.java
index 32e4b96..e995b10 100644
--- a/org.eclipse.jdt.launching/launching/org/eclipse/jdt/internal/launching/EECompilationParticipant.java
+++ b/org.eclipse.jdt.launching/launching/org/eclipse/jdt/internal/launching/EECompilationParticipant.java
@@ -1,5 +1,5 @@
/*******************************************************************************
- * Copyright (c) 2008, 2012 IBM Corporation and others.
+ * Copyright (c) 2008, 2016 IBM Corporation and others.
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Eclipse Public License v1.0
* which accompanies this distribution, and is available at
@@ -168,6 +168,9 @@
if (JavaCore.WARNING.equals(value)) {
return IMarker.SEVERITY_WARNING;
}
+ if (JavaCore.INFO.equals(value)) {
+ return IMarker.SEVERITY_INFO;
+ }
return -1;
}