summaryrefslogtreecommitdiffstats
path: root/documentation/advanced
diff options
context:
space:
mode:
authorSami Ekblad <sami@vaadin.com>2016-07-22 17:22:53 +0300
committerArtur Signell <artur@vaadin.com>2016-08-05 10:19:47 +0300
commit455184ef8e9fda89ad0efaedefe1b64a6dfaba08 (patch)
treeddc6a44fbf7c1dc9879cca071f359b1a33ebae4a /documentation/advanced
parenta7c9ba7e345ba7730e8bdac549773eb0dd750730 (diff)
downloadvaadin-framework-455184ef8e9fda89ad0efaedefe1b64a6dfaba08.tar.gz
vaadin-framework-455184ef8e9fda89ad0efaedefe1b64a6dfaba08.zip
BoV: Updated Java version compatibility notes to Java 8.
Change-Id: I8facb7e89af09eec3331c21e04124b5e5827a66e
Diffstat (limited to 'documentation/advanced')
-rw-r--r--documentation/advanced/advanced-logging.asciidoc17
1 files changed, 8 insertions, 9 deletions
diff --git a/documentation/advanced/advanced-logging.asciidoc b/documentation/advanced/advanced-logging.asciidoc
index 12200d32ee..ca0918220d 100644
--- a/documentation/advanced/advanced-logging.asciidoc
+++ b/documentation/advanced/advanced-logging.asciidoc
@@ -99,16 +99,17 @@ is needed in the class. For example:
public class MyClass {
private final static Logger logger =
Logger.getLogger(MyClass.class.getName());
-
+
public void myMethod() {
try {
// do something that might fail
} catch (Exception e) {
logger.log(Level.SEVERE, "FAILED CATASTROPHICALLY!", e);
- }
+ }
}
}
----
+ifdef::vaadin7[]
((("static")))
((("memory
@@ -125,13 +126,11 @@ classloader would prevent garbage-collecting the classes after redeploying,
hence leaking memory. As the size of the PermGen memory where class object are
stored is fixed, the leakage will lead to a server crash after many
redeployments. The issue depends on the way how the server manages classloaders,
-on the hardness of the back-references, and may also be different between Java 6
-and 7. So, if you experience PermGen issues, or want to play it on the safe
-side, you should consider using non-static [classname]#Logger# instances.//As
-discussed in Forum thread 1175841
-(24.2.2012).
+on the hardness of the back-references.
+So, if you experience PermGen issues, or want to play it on the safe
+side, you should consider using non-static [classname]#Logger# instances.
+//As discussed in Forum thread 1175841 (24.2.2012).
+endif::vaadin7[]
(((range="endofrange", startref="term.advanced.logging")))
-
-