activemq-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From johnament <>
Subject [GitHub] activemq-artemis pull request #610: Artemis build enhancements
Date Fri, 01 Jul 2016 23:30:25 GMT
Github user johnament commented on a diff in the pull request:
    --- Diff: pom.xml ---
    @@ -112,8 +112,8 @@
    -      <maven.compiler.source>1.7</maven.compiler.source>
    -      <>1.7</>
    +      <maven.compiler.source>1.8</maven.compiler.source>
    +      <>1.8</>
    --- 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 or file a JIRA ticket
with INFRA.

View raw message