Comments (4)
Unsafe probably has a method to sneakythrow, but there are three potential problems with this:
1: Is it deprecated or will some code analysis tool complain about using Unsafe?
2: Does it run on non-sun JVMs? I'm guessing no. Is it at least in the openjdk, and thus in soylatte
and friends?
3: Does it result in a call to the security manager?
from lombok.
đ¤ reinierz Â
There is a method: Unsafe.getUnsafe().throwException(Throwable t);
It's not deprecated, so that takes care of īš1.
Research still to be done:
Which alternative VMs, if any, have this class? Does it trigger a security manager of some sort?
from lombok.
It triggers security manager shenanigans, so, lets not go there.
from lombok.
End of migration
from lombok.
Related Issues (20)
- StandardException should work with Value and Builder
- [FEATURE] @Slf4j Can I add it to the annotation? HOT 1
- [BUG] After Lombok adding to dependency Gradle cannot access to javax.xml.* library HOT 3
- FEATURE: Fields annotations in @RequiredArgsConstructor HOT 2
- [BUG] Non-copyable type parameter annotations are copied HOT 6
- [BUG] `@NonNull String[]` incorrectly requires value in `@Data` generated constructor HOT 2
- [BUG] @Embeddable data creation does not work with lombok's @Builder HOT 1
- [BUG] extensions method with long/double argument causes JNI error when run in Eclipse HOT 2
- [BUG] @Jacksonized SuperBuilder not working with @JsonIdentityInfo HOT 1
- [BUG] Lombok plugin X509 trust artifact date expired. HOT 1
- [BUG] The topic attribute of @Slf4j will cause log.isDebugEnabled() to fail HOT 2
- [BUG] javax Nonnull on Record Fails to Create Null-Check HOT 1
- [BUG] Annotation processing broken in Netbeans with latest nbjavac updates HOT 2
- [FEATURE] @Factory annotation, Google guice addition. HOT 1
- [BUG] Delombok fails with Jdk 17 HOT 2
- [FEATURE] Ability to access any code elements as strings constants with me having to define each string.. that make compiler more powerful HOT 2
- [FEATURE] Named null setter / clear function HOT 3
- [BUG] ASM & Lombok while running Tests HOT 15
- [BUG] Overlapping source positions for generated code causing Error Prone 2.21.0 to crash HOT 2
- [FEATURE REQUEST] Extending @FieldNameConstants
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
đ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. đđđ
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google â¤ī¸ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from lombok.