Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commitb3db746

Browse files
authored
Merge pull request#230 from BobHanson/master
omnibus pull from bobhanson/java2Script
2 parentsdf0959d +76dc748 commitb3db746

File tree

35 files changed

+597
-364
lines changed

35 files changed

+597
-364
lines changed
-244 KB
Binary file not shown.
36.8 KB
Binary file not shown.
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
20240114215407
1+
20240225103130
24.2 KB
Binary file not shown.
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
20240114215407
1+
20240225103130

‎sources/net.sf.j2s.core/src/j2s/swingjs/Java2ScriptVisitor.java‎

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,7 @@
3131
// TODO: superclass inheritance for JAXB XmlAccessorType
3232
// TODO: Transpiler bug allows static String name, but JavaScript function().name is read-only and will be "clazz"
3333

34+
//BH 2024.02.22 -- 3.3.1-v7 fixes long extension issue causing MutableBitInteger to miscalculate subtraction(no change in version #)
3435
//BH 2023.03.29 -- 3.3.1-v7 fixes outer static method call from within lambda expression.
3536
//BH 2023.02.09 -- 3.3.1.v6 fixes j2s.excluded.paths needing /src/xxxx
3637
//BH 2022.06.27 -- 3.3.1-v5 fixes missing method annotations
@@ -4313,11 +4314,10 @@ && boxType(exp) == NO_BOX) {
43134314
privatevoidaddExtendedOperands(List<?>extendedOperands,Stringop,charpre,charpost,booleanisToString,
43144315
booleanisLongCall) {
43154316
buffer.append(' ');
4317+
if (isLongCall)
4318+
op =",";
43164319
for (Iterator<?>iter =extendedOperands.iterator();iter.hasNext();) {
43174320
Expressionexp = (Expression)iter.next();
4318-
// op may be int for a while, but after that it changes to long
4319-
if (isLongCall &&exp.resolveTypeBinding().getName().equals("long"))
4320-
op =",";
43214321
buffer.append(op);
43224322
buffer.append(pre);
43234323
addOperand(exp,isToString);
24.1 KB
Binary file not shown.
372 Bytes
Binary file not shown.

‎sources/net.sf.j2s.java.core/site-resources/test-raf.txt‎

Lines changed: 0 additions & 2 deletions
This file was deleted.

‎sources/net.sf.j2s.java.core/site-resources_4.2/jsmol/js/j2sjmol.js‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -894,7 +894,7 @@ Clazz.defineMethod = function (clazzThis, funName, funBody, funParams) {
894894
if(!f$.stacks||f$.claxxReference!==clazzThis){
895895
//Generate a new delegating method for the class
896896
varid=++SAEMid;
897-
console.log("SAEM "+clazzThis.__CLASS_NAME__+"."+funName);
897+
//console.log("SAEM " + clazzThis.__CLASS_NAME__ + "." + funName);
898898
vardelegate=function(){
899899
returnsearchAndExecuteMethod(id,this,arguments.callee.claxxReference,arguments.callee.methodName,arguments);
900900
};

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp