[jbosstools-issues] [JBoss JIRA] (JBIDE-17026) Unable to load hibernate plugins when JBDS is running with JDK8
Koen Aers (JIRA)
issues at jboss.org
Wed Apr 23 03:58:33 EDT 2014
[ https://issues.jboss.org/browse/JBIDE-17026?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12963163#comment-12963163 ]
Koen Aers edited comment on JBIDE-17026 at 4/23/14 3:56 AM:
------------------------------------------------------------
The fix in CompilerOptions is very straightforward so I can make a patch for Luna if that's needed. And issue a warning instead of an error in case of an unknown version also seems a good idea. Aside from this, I am not very happy with relying on an internal JDT class for doing this rather simple and straightforward calculation.
UPDATE: I have found that the CompilerOptions class in master has the correct implementation of versionToJdkLevel() so a bug/fix will not be needed.
UPDATE2: The correct implementation of versionToJdkLevel() was added on May 25th, 2012. Not sure (yet) why this goes wrong in Luna M6.
was (Author: koen.aers):
The fix in CompilerOptions is very straightforward so I can make a patch for Luna if that's needed. And issue a warning instead of an error in case of an unknown version also seems a good idea. Aside from this, I am not very happy with relying on an internal JDT class for doing this rather simple and straightforward calculation.
UPDATE: I have found that the CompilerOptions class in master has the correct implementation of versionToJdkLevel() so a bug/fix will not be needed.
> Unable to load hibernate plugins when JBDS is running with JDK8
> ---------------------------------------------------------------
>
> Key: JBIDE-17026
> URL: https://issues.jboss.org/browse/JBIDE-17026
> Project: Tools (JBoss Tools)
> Issue Type: Bug
> Components: hibernate
> Affects Versions: 4.2.0.Beta1
> Environment: JBDS 8.0.0.Beta1a, L64, Fedora 19, JDK 1.8
> Reporter: Jiri Peterka
> Assignee: Koen Aers
> Priority: Blocker
> Fix For: 4.2.0.Beta2
>
>
> While using JDK8 for JBDS I cannot expand hibernate configuration console. Error message: Proejct 'hbtest1' has higher compiler option than running Eclipse. Hibernate plugins unable to load its classes. Please decrease the compiler option or run the eclipse with higher JDK level.
> I was trying to do various project settings related to compiler level but nothing I tried helped.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira
More information about the jbosstools-issues
mailing list