[ https://issues.apache.org/jira/browse/HBASE-11666?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Sean Busbey updated HBASE-11666: -------------------------------- Attachment: HBASE_11666-v3.patch It occurred to me to do search of the rest of the codebase, which turned up a couple of comments and an error message where we should assert Java 7 instead of Java 6. Patch updated; last time barring feedback. > Enforce JDK7 javac for builds on branch-1 and master > ---------------------------------------------------- > > Key: HBASE-11666 > URL: https://issues.apache.org/jira/browse/HBASE-11666 > Project: HBase > Issue Type: Task > Components: build, documentation > Affects Versions: 1.0.0, 2.0.0 > Reporter: Sean Busbey > Assignee: Sean Busbey > Priority: Minor > Attachments: HBASE_11666-v1.patch, HBASE_11666-v2.patch, > HBASE_11666-v3.patch > > > Per [the discussion on JDK versions|http://search-hadoop.com/m/DHED4Zlz0R1], > we require Java 7 for 1.0+ (also we have code that only compiles under Java > 7). > Right now, if you attempt to build with JDK6, Maven will happily oblige and > then give you a cannot find symbol error about a Java 7 class we use. > We should > * update the Build HBase guide to reference our supported Java versions docs > * update our pom so that Maven will correctly complain about jdk versions. -- This message was sent by Atlassian JIRA (v6.2#6252)