From 789985c02efa61c5ee37bbb206865978685672cd Mon Sep 17 00:00:00 2001 From: zzz Date: Sat, 13 Apr 2019 12:41:21 +0000 Subject: [PATCH] dev guidelines update --- .../pages/site/get-involved/guides/dev-guidelines.html | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/i2p2www/pages/site/get-involved/guides/dev-guidelines.html b/i2p2www/pages/site/get-involved/guides/dev-guidelines.html index bce525eb..ec38877d 100644 --- a/i2p2www/pages/site/get-involved/guides/dev-guidelines.html +++ b/i2p2www/pages/site/get-involved/guides/dev-guidelines.html @@ -1,6 +1,6 @@ {% extends "global/layout.html" %} {% block title %}{{ _('Developer Guidelines and Coding Style') }}{% endblock %} -{% block lastupdated %}{% trans %}March 2019{% endtrans %}{% endblock %} +{% block lastupdated %}{% trans %}April 2019{% endtrans %}{% endblock %} {% block content %}

{% trans newdevs=site_url('get-involved/guides/new-developers') -%} Read the new developers guide first. @@ -165,6 +165,13 @@ as Android and embedded applications require only Java 6. All classes must be av Java 7 language features are acceptable in these subsystems if supported by the current version of the Android SDK and they compile to Java 6-compatible code. {%- endtrans %} +

  • +Try-with-resources cannot be used in embedded subsystems as it requires java.lang.AutoCloseable +in the runtime, and this is not available until Android API 19 (KitKat 4.4). +
  • +
  • +Plugin authors may require any minimum Java version via the plugin.config file. +
  • {% trans -%} Explicitly convert between primitive types and classes; don't rely on autoboxing/unboxing.