Skip to content

Commit f50e103

Browse files
hansonrhansonr
authored andcommitted
3.2.2 upgrade for Java 8 (headless)
- lambda functions - doublecolon operator - java.util.function - java.util.stream - all methods post-$ qualified except Math.* and *.toString()
1 parent a406222 commit f50e103

File tree

17 files changed

+758
-383
lines changed

17 files changed

+758
-383
lines changed
367 KB
Binary file not shown.
48 Bytes
Binary file not shown.
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
20180801101958
1+
20180801175408
367 KB
Binary file not shown.
48 Bytes
Binary file not shown.
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
20180801101958
1+
20180801175408

sources/net.sf.j2s.core/src/net/sf/j2s/core/astvisitors/Java2ScriptVisitor.java

Lines changed: 81 additions & 89 deletions
Large diffs are not rendered by default.
367 KB
Binary file not shown.

sources/net.sf.j2s.java.core/src/java/awt/Component.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7013,12 +7013,12 @@ final Component getNextFocusCandidate() {
70137013
// focusLog.finer("default component is " + toFocus);
70147014
// }
70157015
}
7016-
if (toFocus == null) {
7016+
// if (toFocus == null) {
70177017
//SWINGJS TODO Applet applet = EmbeddedFrame.getAppletIfAncestorOf(this);
70187018
// if (applet != null) {
70197019
// toFocus = applet;
70207020
// }
7021-
}
7021+
// }
70227022
candidate = toFocus;
70237023
}
70247024
// if (focusLog.isLoggable(Level.FINER)) {

sources/net.sf.j2s.java.core/src/java/awt/Container.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4390,7 +4390,7 @@ private boolean isMouseGrab(MouseEvent e) {
43904390
private boolean processMouseEvent(MouseEvent e) {
43914391
int id = e.getID();
43924392
// see swingjs.plaf.JSButtionUI
4393-
Component mouseOver = /** @j2sNative e.bdata.jqevent && e.bdata.jqevent.target["data-component"]; || */ null;
4393+
Component mouseOver = /** @j2sNative e.bdata.jqevent && e.bdata.jqevent.target["data-component"] || */ null;
43944394

43954395
// sensitive to mouse events
43964396

0 commit comments

Comments
 (0)