-
Notifications
You must be signed in to change notification settings - Fork 3
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
compilationLevel ADVANCED_OPTIMIZATIONS #660
Comments
Are you trying to access the same properties/fields from your "java class" by javascript ? https://www.gwtproject.org/doc/latest/DevGuideCodingBasicsJsInterop.html |
No. Instead, it's stored in a map in another class.
…---Original---
From: "Miroslav ***@***.***>
Date: Mon, Apr 29, 2024 19:29 PM
To: ***@***.***>;
Cc: ***@***.******@***.***>;
Subject: Re: [mP1/j2cl-maven-plugin] compilationLevel ADVANCED_OPTIMIZATIONS(Issue #660)
I want properties and methods in a class in java not to be confused Delete how I set them. Thank you very much
Are you trying to access the same properties/fields from your "java class" by javascript ?
https://www.gwtproject.org/doc/latest/DevGuideCodingBasicsJsInterop.html
—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you authored the thread.Message ID: ***@***.***>
|
Im not quite sure what your problem is, i dont understand exactly what "confused Delete how i set them" means. |
Sounds like perhaps you have discovered some sort of Closure bug. But first, within the browser debugger can you paste all the properties on the ActiveUnitAgent object itself when the debugger fails. Just wondering if the object is actually a ActiveUnitAgent in this scope. You did confirm it works fine without ADVANCED - so theoretically it should just work if understand whats happened. |
Changing to SIMPLE_OPTIMIZATIONS using compile mode will work fine. After the search data can be exported in the.js file by the desired method can work。 Is there any other easy way to derive the desired method instead of listing it |
1 similar comment
Changing to SIMPLE_OPTIMIZATIONS using compile mode will work fine. After the search data can be exported in the.js file by the desired method can work。 Is there any other easy way to derive the desired method instead of listing it |
Q1. did you add the goog.exportSymbol now ?
|
How did you fix your problem ? |
Changing to SIMPLE_OPTIMIZATIONS is more reliable when compiling mode。 |
I had a problem when using ADVANCED_OPTIMIZATIONS to build again. I want properties and methods in a class in java not to be confused Delete how I set them. Thank you very much
The text was updated successfully, but these errors were encountered: