You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@myfaces.apache.org by "Leonardo Uribe (JIRA)" <de...@myfaces.apache.org> on 2009/08/25 21:27:59 UTC
[jira] Reopened: (MYFACES-2338) MyFaces 1.2 has dependency to JDK
1.6
[ https://issues.apache.org/jira/browse/MYFACES-2338?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Leonardo Uribe reopened MYFACES-2338:
-------------------------------------
With animal-sniffer plugin, we can check jdk compatibility and prevent this type of errors occur.
Just adding this profile:
<profile>
<id>checkJDK</id>
<activation>
<property>
<name>performRelease</name>
<value>true</value>
</property>
</activation>
<build>
<plugins>
<plugin>
<groupId>org.jvnet</groupId>
<artifactId>animal-sniffer</artifactId>
<version>1.2</version>
<executions>
<execution>
<goals>
<goal>check</goal>
</goals>
<configuration>
<signature>
<groupId>org.jvnet.animal-sniffer</groupId>
<artifactId>java1.5</artifactId>
<version>1.0</version>
</signature>
</configuration>
</execution>
</executions>
</plugin>
</plugins>
</build>
<pluginRepositories>
<pluginRepository>
<id>java.net.repo</id>
<name>java.net repository</name>
<url>http://download.java.net/maven/2/</url>
</pluginRepository>
</pluginRepositories>
</profile>
> MyFaces 1.2 has dependency to JDK 1.6
> -------------------------------------
>
> Key: MYFACES-2338
> URL: https://issues.apache.org/jira/browse/MYFACES-2338
> Project: MyFaces Core
> Issue Type: Bug
> Components: JSR-252
> Reporter: Matthias Weßendorf
> Assignee: Matthias Weßendorf
> Priority: Critical
> Fix For: 1.2.8-SNAPSHOT
>
>
> String.isEmpty() is used here:
> https://svn.apache.org/viewvc/myfaces/core/branches/1.2.x/api/src/main/java/javax/faces/application/ViewHandler.java?r1=792658&r2=796378&diff_format=h
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.