aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorstuartg <stuartg@google.com>2013-01-17 19:46:50 +0000
committerstuartg <stuartg@google.com>2013-01-17 19:46:50 +0000
commit6c079ed693d2fa5f274fbc90ee7ddc67d97976b1 (patch)
treeac2bac142a315bdc7ac4df5bf242b713ba135838
parent19596d2a164fdc88b2f88cf8e49eab55d7900746 (diff)
downloadsfntly-6c079ed693d2fa5f274fbc90ee7ddc67d97976b1.tar.gz
ticket:26 fix Java 7 compile issue caused by a change in behaviour in the access of private members
-rw-r--r--java/src/com/google/typography/font/sfntly/table/Table.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/java/src/com/google/typography/font/sfntly/table/Table.java b/java/src/com/google/typography/font/sfntly/table/Table.java
index ffe2aa0..2873442 100644
--- a/java/src/com/google/typography/font/sfntly/table/Table.java
+++ b/java/src/com/google/typography/font/sfntly/table/Table.java
@@ -166,7 +166,7 @@ public class Table extends FontDataTable {
protected void notifyPostTableBuild(T table) {
if (this.modelChanged() || this.dataChanged()) {
Header header = new Header(this.header().tag(), table.dataLength());
- table.header = header;
+ ((Table) table).header = header;
}
}