Github user johnament commented on a diff in the pull request:

    https://github.com/apache/activemq-artemis/pull/610#discussion_r69366465
  
    --- Diff: pom.xml ---
    @@ -112,8 +112,8 @@
           <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
           
<project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
     
    -      <maven.compiler.source>1.7</maven.compiler.source>
    -      <maven.compiler.target>1.7</maven.compiler.target>
    +      <maven.compiler.source>1.8</maven.compiler.source>
    +      <maven.compiler.target>1.8</maven.compiler.target>
    --- End diff --
    
    One interesting thing I've noticed.  You can set your source/target to 1.7, 
but compile against a 1.8 JDK to leverage the newer APIs.  As a result, you 
create 1.7 compatible binaries, but leverage 1.8 APIs (e.g. Stream).  No 
runtime issues unless a user tries to call one of those APIs.
    
    It's an old trick, but finally figured out how it was working.


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastruct...@apache.org or file a JIRA ticket
with INFRA.
---

Reply via email to