Skip to content

Commit cd88333

Browse files
hansonrhansonr
authored andcommitted
minor Clazz issues
1 parent 627dbb2 commit cd88333

File tree

7 files changed

+12
-10
lines changed

7 files changed

+12
-10
lines changed
48 Bytes
Binary file not shown.
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
20180820232825
1+
20180821075258
48 Bytes
Binary file not shown.
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
20180820232825
1+
20180821075258
48 Bytes
Binary file not shown.

sources/net.sf.j2s.java.core/srcjs/js/j2sClazz.js

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -10,14 +10,15 @@
1010
// TODO: CharacterSequence does not implement Java 8 default methods chars() or codePoints()
1111
// It is possible that these might be loaded dynamically.
1212

13+
// BH 8/21/2018 3.2.2.04 fixes ?j2strace=xxx message; sets user.home to https://./, not https://.//
1314
// BH 8/20/2018 3.2.2.04 adds character.isJavaIdentifierPart$C and several Character...$I equivalents, fixes newEnumConst(), System.getBoolean$S
1415
// BH 8/19/2018 3.2.2.04 fixes Enum .name being .$name
1516
// BH 8/16/2018 3.2.2.04 fixes Character.toTitleCase$C, [Integer,Long,Short,Byte].toString(i,radix)
1617
// BH 8/13/2018 3.2.2.04 $finals to $finals$ -- basically variables are $xxx, methods are xxx$, and special values are $xxx$
1718
// BH 8/12/2018 3.2.2 adding J2S.onClazzLoaded hook for Clazz loaded
1819
// BH 8/11/2018 3.2.2 Clazz.newLambda removed
1920
// BH 8/9/2018 3.2.2 adds newLambda(...'S')
20-
// BH 8/6/2018 3.2.2 sets user.home to be "https://./"
21+
// BH 8/6/2018 3.2.2 sets user.home to be "https://.//"
2122
// BH 8/6/2018 3.2.2 adds ?j2sverbose option -- lists all files loaded; sets Clazz._quiet = false
2223
// BH 8/5/2018 3.2.2 adds Clazz.newLambda(...)
2324
// BH 8/4/2018 3.2.2 cleans up String $-qualified methods headless and javax tests pass
@@ -1596,7 +1597,7 @@ var getSig = function(c, withParams) {
15961597
Clazz._showStack = function(n) {
15971598
if (!Clazz._stack)
15981599
return;
1599-
n && n < Clazz.stack.length || (n = Clazz._stack.length);
1600+
n && n < Clazz._stack.length || (n = Clazz._stack.length);
16001601
if (!n)
16011602
return;
16021603
for (var i = 0; i < n; i++) {
@@ -1648,7 +1649,7 @@ Clazz._getStackTrace = function(n) {
16481649
if (Clazz._stack.length) {
16491650
s += "\nsee Clazz._stack";
16501651
console.log("Clazz._stack = " + Clazz._stack);
1651-
console.log("Use Clazz.showStack() or Clazz.showStack(n) to show parameters");
1652+
console.log("Use Clazz._showStack() or Clazz._showStack(n) to show parameters");
16521653
}
16531654
return s;
16541655
}
@@ -3252,7 +3253,7 @@ java.lang.System = System = {
32523253
v = "50";
32533254
break;
32543255
case "user.home":
3255-
v = "https://./";
3256+
v = "https://.";
32563257
break;
32573258
case "java.vendor":
32583259
v = "SwingJS/OpenJDK";

sources/net.sf.j2s.java.core/srcjs/swingjs2.js

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -13463,14 +13463,15 @@ if (!J2S._version)
1346313463
// TODO: CharacterSequence does not implement Java 8 default methods chars() or codePoints()
1346413464
// It is possible that these might be loaded dynamically.
1346513465

13466+
// BH 8/21/2018 3.2.2.04 fixes ?j2strace=xxx message; sets user.home to https://./, not https://.//
1346613467
// BH 8/20/2018 3.2.2.04 adds character.isJavaIdentifierPart$C and several Character...$I equivalents, fixes newEnumConst(), System.getBoolean$S
1346713468
// BH 8/19/2018 3.2.2.04 fixes Enum .name being .$name
1346813469
// BH 8/16/2018 3.2.2.04 fixes Character.toTitleCase$C, [Integer,Long,Short,Byte].toString(i,radix)
1346913470
// BH 8/13/2018 3.2.2.04 $finals to $finals$ -- basically variables are $xxx, methods are xxx$, and special values are $xxx$
1347013471
// BH 8/12/2018 3.2.2 adding J2S.onClazzLoaded hook for Clazz loaded
1347113472
// BH 8/11/2018 3.2.2 Clazz.newLambda removed
1347213473
// BH 8/9/2018 3.2.2 adds newLambda(...'S')
13473-
// BH 8/6/2018 3.2.2 sets user.home to be "https://./"
13474+
// BH 8/6/2018 3.2.2 sets user.home to be "https://.//"
1347413475
// BH 8/6/2018 3.2.2 adds ?j2sverbose option -- lists all files loaded; sets Clazz._quiet = false
1347513476
// BH 8/5/2018 3.2.2 adds Clazz.newLambda(...)
1347613477
// BH 8/4/2018 3.2.2 cleans up String $-qualified methods headless and javax tests pass
@@ -15049,7 +15050,7 @@ var getSig = function(c, withParams) {
1504915050
Clazz._showStack = function(n) {
1505015051
if (!Clazz._stack)
1505115052
return;
15052-
n && n < Clazz.stack.length || (n = Clazz._stack.length);
15053+
n && n < Clazz._stack.length || (n = Clazz._stack.length);
1505315054
if (!n)
1505415055
return;
1505515056
for (var i = 0; i < n; i++) {
@@ -15101,7 +15102,7 @@ Clazz._getStackTrace = function(n) {
1510115102
if (Clazz._stack.length) {
1510215103
s += "\nsee Clazz._stack";
1510315104
console.log("Clazz._stack = " + Clazz._stack);
15104-
console.log("Use Clazz.showStack() or Clazz.showStack(n) to show parameters");
15105+
console.log("Use Clazz._showStack() or Clazz._showStack(n) to show parameters");
1510515106
}
1510615107
return s;
1510715108
}
@@ -16705,7 +16706,7 @@ java.lang.System = System = {
1670516706
v = "50";
1670616707
break;
1670716708
case "user.home":
16708-
v = "https://./";
16709+
v = "https://.";
1670916710
break;
1671016711
case "java.vendor":
1671116712
v = "SwingJS/OpenJDK";

0 commit comments

Comments
 (0)