[hibernate-issues] [Hibernate-JIRA] Commented: (HHH-3272) using of Integer.valueOf(int), which is not available in JDK 1.4

Gary Ip (JIRA) noreply at atlassian.com
Sun May 11 03:26:34 EDT 2008


    [ http://opensource.atlassian.com/projects/hibernate/browse/HHH-3272?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_30153 ] 

Gary Ip commented on HHH-3272:
------------------------------

I found that beside changing the compliance level to JDK 1.4, you also need to change the JRE system library to use JDK/JRE 1.4, so that you need to have JDK 1.4 installed as well ; )




> using of Integer.valueOf(int), which is not available in JDK 1.4
> ----------------------------------------------------------------
>
>                 Key: HHH-3272
>                 URL: http://opensource.atlassian.com/projects/hibernate/browse/HHH-3272
>             Project: Hibernate3
>          Issue Type: Bug
>          Components: core
>    Affects Versions: 3.3.0.CR1
>         Environment: Windows XP SP2, Tomcat 5.5.26, JDK 1.4.2_17, Spring 2.5.4, Hibernate 3.3.0.CR1
>            Reporter: Gary Ip
>            Assignee: Diego Plentz
>             Fix For: 3.3.0.CR2
>
>
> In class org.hibernate.jdbc.util.BasicFormatterImpl$FormatProcess line: 271:
> 		private void select() {
> 			out();
> 			indent++;
> 			newline();
> 			parenCounts.addLast( Integer.valueOf( parensSinceSelect ) );
> 			afterByOrFromOrSelects.addLast( Boolean.valueOf( afterByOrSetOrFromOrSelect ) );
> 			parensSinceSelect = 0;
> 			afterByOrSetOrFromOrSelect = true;
> 		}
> parensSinceSelect is a int type, while in Integer.valueOf(int) only available since JDK 1.5

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://opensource.atlassian.com/projects/hibernate/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        



More information about the hibernate-issues mailing list